0s autopkgtest [01:57:36]: starting date and time: 2024-12-04 01:57:36+0000 0s autopkgtest [01:57:36]: git checkout: be626eda Fix armhf LXD image generation for plucky 0s autopkgtest [01:57:36]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.vdl3uw0h/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-3.secgroup --name adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -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/ 62s autopkgtest [01:58:38]: testbed dpkg architecture: s390x 62s autopkgtest [01:58:38]: testbed apt version: 2.9.14ubuntu1 62s autopkgtest [01:58:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [01:58:39]: testbed release detected to be: None 63s autopkgtest [01:58:39]: updating testbed package index (apt update) 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 64s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 64s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 64s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 64s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 64s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 64s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 64s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 64s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [112 kB] 64s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [928 B] 64s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [588 kB] 64s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [7444 B] 65s Fetched 1624 kB in 1s (1745 kB/s) 65s Reading package lists... 66s Reading package lists... 66s Building dependency tree... 66s Reading state information... 66s Calculating upgrade... 66s The following package was automatically installed and is no longer required: 66s libassuan0 66s Use 'sudo apt autoremove' to remove it. 66s The following packages will be upgraded: 66s binutils binutils-common binutils-s390x-linux-gnu dirmngr gcc-14-base gnupg 66s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 66s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 66s libsframe1 libstdc++6 publicsuffix 66s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s Need to get 6760 kB of archives. 66s After this operation, 392 kB of additional disk space will be used. 66s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libatomic1 s390x 14.2.0-9ubuntu1 [9424 B] 66s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-9ubuntu1 [51.9 kB] 67s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++6 s390x 14.2.0-9ubuntu1 [897 kB] 67s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-s1 s390x 14.2.0-9ubuntu1 [35.9 kB] 67s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-4 [15.8 kB] 67s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-wks-client s390x 2.4.4-2ubuntu20 [75.8 kB] 67s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x dirmngr s390x 2.4.4-2ubuntu20 [341 kB] 67s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x gpgsm s390x 2.4.4-2ubuntu20 [244 kB] 67s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-utils s390x 2.4.4-2ubuntu20 [116 kB] 67s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-agent s390x 2.4.4-2ubuntu20 [241 kB] 67s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x gpg s390x 2.4.4-2ubuntu20 [590 kB] 67s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gpgconf s390x 2.4.4-2ubuntu20 [110 kB] 67s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg all 2.4.4-2ubuntu20 [359 kB] 67s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x keyboxd s390x 2.4.4-2ubuntu20 [81.8 kB] 67s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gpgv s390x 2.4.4-2ubuntu20 [163 kB] 67s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x publicsuffix all 20241025.1547-0.1 [135 kB] 67s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libctf0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 67s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libctf-nobfd0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 67s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x binutils s390x 2.43.50.20241126-3ubuntu1 [3062 B] 67s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-s390x-linux-gnu s390x 2.43.50.20241126-3ubuntu1 [2304 kB] 67s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libbinutils s390x 2.43.50.20241126-3ubuntu1 [482 kB] 67s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-common s390x 2.43.50.20241126-3ubuntu1 [222 kB] 67s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsframe1 s390x 2.43.50.20241126-3ubuntu1 [14.0 kB] 67s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 67s Fetched 6760 kB in 1s (7661 kB/s) 68s (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 ... 55869 files and directories currently installed.) 68s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_s390x.deb ... 68s Unpacking libatomic1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 68s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_s390x.deb ... 68s Unpacking gcc-14-base:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 68s Setting up gcc-14-base:s390x (14.2.0-9ubuntu1) ... 68s (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 ... 55869 files and directories currently installed.) 68s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_s390x.deb ... 68s Unpacking libstdc++6:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 68s Setting up libstdc++6:s390x (14.2.0-9ubuntu1) ... 68s (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 ... 55869 files and directories currently installed.) 68s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_s390x.deb ... 68s Unpacking libgcc-s1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 68s Setting up libgcc-s1:s390x (14.2.0-9ubuntu1) ... 68s (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 ... 55869 files and directories currently installed.) 68s Preparing to unpack .../libcap-ng0_0.8.5-4_s390x.deb ... 68s Unpacking libcap-ng0:s390x (0.8.5-4) over (0.8.5-3build1) ... 68s Setting up libcap-ng0:s390x (0.8.5-4) ... 68s (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 ... 55869 files and directories currently installed.) 68s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 68s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_s390x.deb ... 68s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Setting up gpgv (2.4.4-2ubuntu20) ... 68s (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 ... 55869 files and directories currently installed.) 68s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 68s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 68s Preparing to unpack .../1-libctf0_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking libctf0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../2-libctf-nobfd0_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../3-binutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../4-binutils-s390x-linux-gnu_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../5-libbinutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking libbinutils:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../6-binutils-common_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking binutils-common:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../7-libsframe1_2.43.50.20241126-3ubuntu1_s390x.deb ... 68s Unpacking libsframe1:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 68s Preparing to unpack .../8-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 68s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 68s Setting up binutils-common:s390x (2.43.50.20241126-3ubuntu1) ... 68s Setting up libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) ... 68s Setting up libsframe1:s390x (2.43.50.20241126-3ubuntu1) ... 68s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 68s Setting up libatomic1:s390x (14.2.0-9ubuntu1) ... 68s Setting up gpgconf (2.4.4-2ubuntu20) ... 68s Setting up libbinutils:s390x (2.43.50.20241126-3ubuntu1) ... 68s Setting up publicsuffix (20241025.1547-0.1) ... 68s Setting up gpg (2.4.4-2ubuntu20) ... 68s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 68s Setting up libctf0:s390x (2.43.50.20241126-3ubuntu1) ... 68s Setting up binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) ... 68s Setting up gpg-agent (2.4.4-2ubuntu20) ... 69s Setting up gpgsm (2.4.4-2ubuntu20) ... 69s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 69s Setting up dirmngr (2.4.4-2ubuntu20) ... 69s Setting up keyboxd (2.4.4-2ubuntu20) ... 69s Setting up gnupg (2.4.4-2ubuntu20) ... 69s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 69s Processing triggers for man-db (2.13.0-1) ... 70s Processing triggers for install-info (7.1.1-1) ... 70s Processing triggers for libc-bin (2.40-1ubuntu3) ... 70s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s The following packages will be REMOVED: 70s libassuan0* 70s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 70s After this operation, 106 kB disk space will be freed. 70s (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 ... 55869 files and directories currently installed.) 70s Removing libassuan0:s390x (2.5.6-1build1) ... 70s Processing triggers for libc-bin (2.40-1ubuntu3) ... 70s autopkgtest [01:58:46]: upgrading testbed (apt dist-upgrade and autopurge) 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 71s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 71s Starting 2 pkgProblemResolver with broken count: 0 71s Done 71s Entering ResolveByKeep 71s 71s The following packages will be upgraded: 71s xauth 71s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 71s Need to get 25.4 kB of archives. 71s After this operation, 4096 B disk space will be freed. 71s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xauth s390x 1:1.1.2-1.1 [25.4 kB] 72s Fetched 25.4 kB in 0s (127 kB/s) 72s (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 ... 55864 files and directories currently installed.) 72s Preparing to unpack .../xauth_1%3a1.1.2-1.1_s390x.deb ... 72s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 72s Setting up xauth (1:1.1.2-1.1) ... 72s Processing triggers for man-db (2.13.0-1) ... 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s Starting pkgProblemResolver with broken count: 0 72s Starting 2 pkgProblemResolver with broken count: 0 72s Done 73s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s autopkgtest [01:58:51]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 75s autopkgtest [01:58:51]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 84s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (dsc) [4921 B] 84s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [263 kB] 84s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (tar) [5556 kB] 84s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.2-3 (diff) [141 kB] 84s gpgv: Signature made Wed Nov 13 21:48:54 2024 UTC 84s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 84s gpgv: Can't check signature: No public key 84s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.2-3.dsc: no acceptable signature found 85s autopkgtest [01:59:01]: testing package glib2.0 version 2.82.2-3 90s autopkgtest [01:59:06]: build not needed 99s autopkgtest [01:59:15]: test build: preparing testbed 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Starting pkgProblemResolver with broken count: 0 99s Starting 2 pkgProblemResolver with broken count: 0 99s Done 99s The following NEW packages will be installed: 99s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 99s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 99s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0 99s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1 99s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 99s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 99s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev 100s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 53.7 MB of archives. 100s After this operation, 177 MB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 100s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 100s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-9ubuntu1 [9568 kB] 101s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-9ubuntu1 [1028 B] 101s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 101s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 101s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-9ubuntu1 [50.7 kB] 101s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-9ubuntu1 [151 kB] 101s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-9ubuntu1 [30.9 kB] 101s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-9ubuntu1 [2964 kB] 101s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-9ubuntu1 [1184 kB] 101s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-9ubuntu1 [1037 kB] 101s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-9ubuntu1 [18.7 MB] 102s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-9ubuntu1 [520 kB] 102s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 102s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 102s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-9ubuntu1 [2609 kB] 102s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-9ubuntu1 [11.0 MB] 102s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-9ubuntu1 [20.1 kB] 102s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 102s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 102s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 102s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.6-1build1 [58.8 kB] 102s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-1ubuntu1 [52.4 kB] 102s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-1ubuntu1 [231 kB] 102s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 102s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 102s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 102s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 102s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 102s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu1 [169 kB] 102s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-1ubuntu1 [33.0 kB] 102s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 47.2-1 [51.6 kB] 102s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 102s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 102s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 102s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 102s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.82.2-3 [1813 kB] 103s Fetched 53.7 MB in 3s (17.4 MB/s) 103s Selecting previously unselected package libisl23:s390x. 103s (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 ... 55864 files and directories currently installed.) 103s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 103s Unpacking libisl23:s390x (0.27-1) ... 103s Selecting previously unselected package libmpc3:s390x. 103s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 103s Unpacking libmpc3:s390x (1.3.1-1build2) ... 103s Selecting previously unselected package cpp-14-s390x-linux-gnu. 103s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking cpp-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package cpp-14. 103s Preparing to unpack .../03-cpp-14_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking cpp-14 (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package cpp-s390x-linux-gnu. 103s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 103s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package cpp. 103s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 103s Unpacking cpp (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package libcc1-0:s390x. 103s Preparing to unpack .../06-libcc1-0_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libcc1-0:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package libgomp1:s390x. 103s Preparing to unpack .../07-libgomp1_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libgomp1:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package libitm1:s390x. 103s Preparing to unpack .../08-libitm1_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libitm1:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package libasan8:s390x. 103s Preparing to unpack .../09-libasan8_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libasan8:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package libubsan1:s390x. 103s Preparing to unpack .../10-libubsan1_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libubsan1:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package libgcc-14-dev:s390x. 103s Preparing to unpack .../11-libgcc-14-dev_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libgcc-14-dev:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package gcc-14-s390x-linux-gnu. 103s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking gcc-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package gcc-14. 103s Preparing to unpack .../13-gcc-14_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking gcc-14 (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package gcc-s390x-linux-gnu. 103s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 103s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package gcc. 103s Preparing to unpack .../15-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 103s Unpacking gcc (4:14.1.0-2ubuntu1) ... 103s Selecting previously unselected package libstdc++-14-dev:s390x. 103s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking libstdc++-14-dev:s390x (14.2.0-9ubuntu1) ... 103s Selecting previously unselected package g++-14-s390x-linux-gnu. 103s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-9ubuntu1_s390x.deb ... 103s Unpacking g++-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 104s Selecting previously unselected package g++-14. 104s Preparing to unpack .../18-g++-14_14.2.0-9ubuntu1_s390x.deb ... 104s Unpacking g++-14 (14.2.0-9ubuntu1) ... 104s Selecting previously unselected package g++-s390x-linux-gnu. 104s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 104s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 104s Selecting previously unselected package g++. 104s Preparing to unpack .../20-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 104s Unpacking g++ (4:14.1.0-2ubuntu1) ... 104s Selecting previously unselected package build-essential. 104s Preparing to unpack .../21-build-essential_12.10ubuntu1_s390x.deb ... 104s Unpacking build-essential (12.10ubuntu1) ... 104s Selecting previously unselected package libffi-dev:s390x. 104s Preparing to unpack .../22-libffi-dev_3.4.6-1build1_s390x.deb ... 104s Unpacking libffi-dev:s390x (3.4.6-1build1) ... 104s Selecting previously unselected package uuid-dev:s390x. 104s Preparing to unpack .../23-uuid-dev_2.40.2-1ubuntu1_s390x.deb ... 104s Unpacking uuid-dev:s390x (2.40.2-1ubuntu1) ... 104s Selecting previously unselected package libblkid-dev:s390x. 104s Preparing to unpack .../24-libblkid-dev_2.40.2-1ubuntu1_s390x.deb ... 104s Unpacking libblkid-dev:s390x (2.40.2-1ubuntu1) ... 104s Selecting previously unselected package libsepol-dev:s390x. 104s Preparing to unpack .../25-libsepol-dev_3.7-1_s390x.deb ... 104s Unpacking libsepol-dev:s390x (3.7-1) ... 104s Selecting previously unselected package libpcre2-16-0:s390x. 104s Preparing to unpack .../26-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 104s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 104s Selecting previously unselected package libpcre2-32-0:s390x. 104s Preparing to unpack .../27-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 104s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 104s Selecting previously unselected package libpcre2-posix3:s390x. 104s Preparing to unpack .../28-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 104s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 104s Selecting previously unselected package libpcre2-dev:s390x. 104s Preparing to unpack .../29-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 104s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 104s Selecting previously unselected package libselinux1-dev:s390x. 104s Preparing to unpack .../30-libselinux1-dev_3.7-3ubuntu1_s390x.deb ... 104s Unpacking libselinux1-dev:s390x (3.7-3ubuntu1) ... 104s Selecting previously unselected package libmount-dev:s390x. 104s Preparing to unpack .../31-libmount-dev_2.40.2-1ubuntu1_s390x.deb ... 104s Unpacking libmount-dev:s390x (2.40.2-1ubuntu1) ... 104s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 104s Preparing to unpack .../32-libsysprof-capture-4-dev_47.2-1_s390x.deb ... 104s Unpacking libsysprof-capture-4-dev:s390x (47.2-1) ... 104s Selecting previously unselected package libpkgconf3:s390x. 104s Preparing to unpack .../33-libpkgconf3_1.8.1-4_s390x.deb ... 104s Unpacking libpkgconf3:s390x (1.8.1-4) ... 104s Selecting previously unselected package pkgconf-bin. 104s Preparing to unpack .../34-pkgconf-bin_1.8.1-4_s390x.deb ... 104s Unpacking pkgconf-bin (1.8.1-4) ... 104s Selecting previously unselected package pkgconf:s390x. 104s Preparing to unpack .../35-pkgconf_1.8.1-4_s390x.deb ... 104s Unpacking pkgconf:s390x (1.8.1-4) ... 104s Selecting previously unselected package zlib1g-dev:s390x. 104s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 104s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 104s Selecting previously unselected package libgio-2.0-dev:s390x. 104s Preparing to unpack .../37-libgio-2.0-dev_2.82.2-3_s390x.deb ... 104s Unpacking libgio-2.0-dev:s390x (2.82.2-3) ... 104s Setting up libgomp1:s390x (14.2.0-9ubuntu1) ... 104s Setting up libffi-dev:s390x (3.4.6-1build1) ... 104s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 104s Setting up libsysprof-capture-4-dev:s390x (47.2-1) ... 104s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 104s Setting up libpkgconf3:s390x (1.8.1-4) ... 104s Setting up uuid-dev:s390x (2.40.2-1ubuntu1) ... 104s Setting up libmpc3:s390x (1.3.1-1build2) ... 104s Setting up libsepol-dev:s390x (3.7-1) ... 104s Setting up pkgconf-bin (1.8.1-4) ... 104s Setting up libubsan1:s390x (14.2.0-9ubuntu1) ... 104s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 104s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 104s Setting up libasan8:s390x (14.2.0-9ubuntu1) ... 104s Setting up libisl23:s390x (0.27-1) ... 104s Setting up libcc1-0:s390x (14.2.0-9ubuntu1) ... 104s Setting up libitm1:s390x (14.2.0-9ubuntu1) ... 104s Setting up libblkid-dev:s390x (2.40.2-1ubuntu1) ... 104s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 104s Setting up libselinux1-dev:s390x (3.7-3ubuntu1) ... 104s Setting up pkgconf:s390x (1.8.1-4) ... 104s Setting up cpp-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 104s Setting up cpp-14 (14.2.0-9ubuntu1) ... 104s Setting up libgcc-14-dev:s390x (14.2.0-9ubuntu1) ... 104s Setting up libstdc++-14-dev:s390x (14.2.0-9ubuntu1) ... 104s Setting up libmount-dev:s390x (2.40.2-1ubuntu1) ... 104s Setting up libgio-2.0-dev:s390x (2.82.2-3) ... 104s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 104s Setting up gcc-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 104s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 104s Setting up g++-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 104s Setting up cpp (4:14.1.0-2ubuntu1) ... 104s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 104s Setting up gcc-14 (14.2.0-9ubuntu1) ... 104s Setting up g++-14 (14.2.0-9ubuntu1) ... 104s Setting up gcc (4:14.1.0-2ubuntu1) ... 104s Setting up g++ (4:14.1.0-2ubuntu1) ... 104s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 104s Setting up build-essential (12.10ubuntu1) ... 104s Processing triggers for libc-bin (2.40-1ubuntu3) ... 104s Processing triggers for man-db (2.13.0-1) ... 104s Processing triggers for libglib2.0-0t64:s390x (2.82.2-3) ... 104s No schema files found: doing nothing. 104s Processing triggers for install-info (7.1.1-1) ... 105s autopkgtest [01:59:21]: test build: [----------------------- 105s + mode=dynamic 105s + getopt -o --long static -n debian/tests/build -- 105s + getopt_temp= -- 105s + eval set -- -- 105s + set -- -- 105s + true 105s + shift 105s + break 105s + mktemp -d 105s + WORKDIR=/tmp/tmp.VjcOKMQTOL 105s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 105s + cd /tmp/tmp.VjcOKMQTOL 105s + [ -n ] 105s + CROSS_COMPILE= 105s + cat 105s + cat 105s + cat 105s + cat 105s + cat 105s + cat 105s + cflags= 105s + pcflags= 105s + packages=glib-2.0 105s + pkg-config --cflags --libs glib-2.0 105s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 105s build (glib, dynamic): OK 105s + echo build (glib, dynamic): OK 105s + [ -x glib-dynamic ] 105s + foo=bar ./glib-dynamic 105s + echo run (glib, dynamic): OK 105s + cflags= 105s + pcflags= 105s + packages=gobject-2.0 105s + pkg-config --cflags --libs gobject-2.0 105s run (glib, dynamic): OK 105s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 105s build (gobject, dynamic): OK 105s + echo build (gobject, dynamic): OK 105s + [ -x gobject-dynamic ] 105s + foo=bar ./gobject-dynamic 105s + echo run (gobject, dynamic): OK 105s + cflags= 105s + pcflags= 105s + packages=gio-2.0 105s + pkg-config --cflags --libs gio-2.0 105s run (gobject, dynamic): OK 105s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 105s build (gio, dynamic): OK 105s + echo build (gio, dynamic): OK 105s + [ -x gio-dynamic ] 105s + foo=bar ./gio-dynamic 105s + echo run (gio, dynamic): OK 105s + cflags= 105s + pcflags= 105s + packages=gio-unix-2.0 105s run (gio, dynamic): OK 105s + pkg-config --cflags --libs gio-unix-2.0 105s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 105s + echo build (gio-unix, dynamic): OK 105s + [ -x gio-unix-dynamic ] 105s + foo=bar ./gio-unix-dynamic 105s + echo run (gio-unix, dynamic): OK 105s + cflags= 105s + pcflags= 105s + packages=gmodule-2.0 105s + pkg-config --cflags --libs gmodule-2.0 105s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 105s build (gio-unix, dynamic): OK 105s run (gio-unix, dynamic): OK 105s build (gmodule, dynamic): OK 105s + echo build (gmodule, dynamic): OK 105s + [ -x gmodule-dynamic ] 105s + foo=bar ./gmodule-dynamic 105s run (gmodule, dynamic): OK 105s + echo run (gmodule, dynamic): OK 105s + cflags= 105s + pcflags= 105s + packages=gthread-2.0 105s + pkg-config --cflags --libs gthread-2.0 105s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 105s build (gthread, dynamic): OK 105s run (gthread, dynamic): OK 105s + echo build (gthread, dynamic): OK 105s + [ -x gthread-dynamic ] 105s + foo=bar ./gthread-dynamic 105s + echo run (gthread, dynamic): OK 105s + rm -rf /tmp/tmp.VjcOKMQTOL 106s autopkgtest [01:59:22]: test build: -----------------------] 106s build PASS (superficial) 106s autopkgtest [01:59:22]: test build: - - - - - - - - - - results - - - - - - - - - - 107s autopkgtest [01:59:23]: test build-static: preparing testbed 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Starting pkgProblemResolver with broken count: 0 107s Starting 2 pkgProblemResolver with broken count: 0 107s Done 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s autopkgtest [01:59:24]: test build-static: [----------------------- 108s + mode=dynamic 108s + getopt -o --long static -n debian/tests/build -- --static 108s + getopt_temp= --static -- 108s + eval set -- --static -- 108s + set -- --static -- 108s + true 108s + mode=static 108s + shift 108s + continue 108s + true 108s + shift 108s + break 108s + mktemp -d 108s + WORKDIR=/tmp/tmp.uQ3TiUHjZo 108s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 108s + cd /tmp/tmp.uQ3TiUHjZo 108s + [ -n ] 108s + CROSS_COMPILE= 108s + cat 108s + cat 108s + cat 108s + cat 108s + cat 108s + cat 108s + cflags= 108s + pcflags= 108s + packages=glib-2.0 108s + cflags=-static 108s + pcflags=--static 108s + pkg-config --static --cflags --libs glib-2.0 108s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 109s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (glib, static): OK 109s + [ -x glib-static ] 109s + foo=bar ./glib-static 109s + echo run (glib, static): OK 109s + cflags= 109s + pcflags= 109s + packages=gobject-2.0 109s + cflags=-static 109s + pcflags=--static 109s + pkg-config --static --cflags --libs gobject-2.0 109s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 109s build (glib, static): OK 109s run (glib, static): OK 109s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (gobject, static): OK 109s + [ -x gobject-static ] 109s + foo=bar ./gobject-static 109s + echo run (gobject, static): OK 109s + cflags= 109s + pcflags= 109s + packages=gio-2.0 109s + cflags=-static 109s + pcflags=--static 109s + continue 109s + cflags= 109s + pcflags= 109s + packages=gio-unix-2.0 109s + cflags=-static 109s + pcflags=--static 109s + continue 109s + cflags= 109s + pcflags= 109s + packages=gmodule-2.0 109s + cflags=-static 109s + pcflags=--static 109s + pkg-config --static --cflags --libs gmodule-2.0 109s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 109s build (gobject, static): OK 109s run (gobject, static): OK 109s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 109s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (gmodule, static): OK 109s + [ -x gmodule-static ] 109s + foo=bar ./gmodule-static 109s + echo run (gmodule, static): OK 109s + cflags= 109s + pcflags= 109s + packages=gthread-2.0 109s + cflags=-static 109s + pcflags=--static 109s + pkg-config --static --cflags --libs gthread-2.0 109s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 109s build (gmodule, static): OK 109s run (gmodule, static): OK 109s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 109s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 109s + echo build (gthread, static): OK 109s + [ -x gthread-static ] 109s + foo=bar ./gthread-static 109s + echo run (gthread, static): OK 109s + rm -rf /tmp/tmp.uQ3TiUHjZo 109s build (gthread, static): OK 109s run (gthread, static): OK 109s autopkgtest [01:59:25]: test build-static: -----------------------] 110s autopkgtest [01:59:26]: test build-static: - - - - - - - - - - results - - - - - - - - - - 110s build-static PASS (superficial) 110s autopkgtest [01:59:26]: test girepository-tools: preparing testbed 182s autopkgtest [02:00:38]: testbed dpkg architecture: s390x 182s autopkgtest [02:00:38]: testbed apt version: 2.9.14ubuntu1 182s autopkgtest [02:00:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 183s autopkgtest [02:00:39]: testbed release detected to be: plucky 183s autopkgtest [02:00:39]: updating testbed package index (apt update) 184s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 184s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 184s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 184s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 184s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 184s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 184s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 184s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 184s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [112 kB] 184s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [928 B] 184s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [588 kB] 184s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [7444 B] 184s Fetched 1624 kB in 1s (1858 kB/s) 185s Reading package lists... 186s Reading package lists... 186s Building dependency tree... 186s Reading state information... 186s Calculating upgrade... 186s The following package was automatically installed and is no longer required: 186s libassuan0 186s Use 'sudo apt autoremove' to remove it. 186s The following packages will be upgraded: 186s binutils binutils-common binutils-s390x-linux-gnu dirmngr gcc-14-base gnupg 186s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 186s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 186s libsframe1 libstdc++6 publicsuffix 186s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 186s Need to get 6760 kB of archives. 186s After this operation, 392 kB of additional disk space will be used. 186s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libatomic1 s390x 14.2.0-9ubuntu1 [9424 B] 186s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-9ubuntu1 [51.9 kB] 187s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++6 s390x 14.2.0-9ubuntu1 [897 kB] 187s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-s1 s390x 14.2.0-9ubuntu1 [35.9 kB] 187s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-4 [15.8 kB] 187s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-wks-client s390x 2.4.4-2ubuntu20 [75.8 kB] 187s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x dirmngr s390x 2.4.4-2ubuntu20 [341 kB] 187s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x gpgsm s390x 2.4.4-2ubuntu20 [244 kB] 187s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-utils s390x 2.4.4-2ubuntu20 [116 kB] 187s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-agent s390x 2.4.4-2ubuntu20 [241 kB] 187s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x gpg s390x 2.4.4-2ubuntu20 [590 kB] 187s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gpgconf s390x 2.4.4-2ubuntu20 [110 kB] 187s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg all 2.4.4-2ubuntu20 [359 kB] 187s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x keyboxd s390x 2.4.4-2ubuntu20 [81.8 kB] 187s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gpgv s390x 2.4.4-2ubuntu20 [163 kB] 187s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x publicsuffix all 20241025.1547-0.1 [135 kB] 187s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libctf0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 187s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libctf-nobfd0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 187s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x binutils s390x 2.43.50.20241126-3ubuntu1 [3062 B] 187s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-s390x-linux-gnu s390x 2.43.50.20241126-3ubuntu1 [2304 kB] 187s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libbinutils s390x 2.43.50.20241126-3ubuntu1 [482 kB] 187s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-common s390x 2.43.50.20241126-3ubuntu1 [222 kB] 187s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsframe1 s390x 2.43.50.20241126-3ubuntu1 [14.0 kB] 187s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 187s Fetched 6760 kB in 1s (8013 kB/s) 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 ... 55869 files and directories currently installed.) 187s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_s390x.deb ... 187s Unpacking libatomic1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 187s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_s390x.deb ... 187s Unpacking gcc-14-base:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 187s Setting up gcc-14-base:s390x (14.2.0-9ubuntu1) ... 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 ... 55869 files and directories currently installed.) 187s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_s390x.deb ... 187s Unpacking libstdc++6:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 187s Setting up libstdc++6:s390x (14.2.0-9ubuntu1) ... 188s (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 ... 55869 files and directories currently installed.) 188s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_s390x.deb ... 188s Unpacking libgcc-s1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 188s Setting up libgcc-s1:s390x (14.2.0-9ubuntu1) ... 188s (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 ... 55869 files and directories currently installed.) 188s Preparing to unpack .../libcap-ng0_0.8.5-4_s390x.deb ... 188s Unpacking libcap-ng0:s390x (0.8.5-4) over (0.8.5-3build1) ... 188s Setting up libcap-ng0:s390x (0.8.5-4) ... 188s (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 ... 55869 files and directories currently installed.) 188s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 188s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_s390x.deb ... 188s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Setting up gpgv (2.4.4-2ubuntu20) ... 188s (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 ... 55869 files and directories currently installed.) 188s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 188s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 188s Preparing to unpack .../1-libctf0_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking libctf0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../2-libctf-nobfd0_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../3-binutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../4-binutils-s390x-linux-gnu_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../5-libbinutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking libbinutils:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../6-binutils-common_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking binutils-common:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../7-libsframe1_2.43.50.20241126-3ubuntu1_s390x.deb ... 188s Unpacking libsframe1:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 188s Preparing to unpack .../8-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 188s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 188s Setting up binutils-common:s390x (2.43.50.20241126-3ubuntu1) ... 188s Setting up libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) ... 188s Setting up libsframe1:s390x (2.43.50.20241126-3ubuntu1) ... 188s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 188s Setting up libatomic1:s390x (14.2.0-9ubuntu1) ... 188s Setting up gpgconf (2.4.4-2ubuntu20) ... 188s Setting up libbinutils:s390x (2.43.50.20241126-3ubuntu1) ... 188s Setting up publicsuffix (20241025.1547-0.1) ... 188s Setting up gpg (2.4.4-2ubuntu20) ... 188s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 188s Setting up libctf0:s390x (2.43.50.20241126-3ubuntu1) ... 188s Setting up binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) ... 188s Setting up gpg-agent (2.4.4-2ubuntu20) ... 188s Setting up gpgsm (2.4.4-2ubuntu20) ... 188s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 188s Setting up dirmngr (2.4.4-2ubuntu20) ... 188s Setting up keyboxd (2.4.4-2ubuntu20) ... 189s Setting up gnupg (2.4.4-2ubuntu20) ... 189s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 189s Processing triggers for man-db (2.13.0-1) ... 189s Processing triggers for install-info (7.1.1-1) ... 189s Processing triggers for libc-bin (2.40-1ubuntu3) ... 189s Reading package lists... 190s Building dependency tree... 190s Reading state information... 190s The following packages will be REMOVED: 190s libassuan0* 190s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 190s After this operation, 106 kB disk space will be freed. 190s (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 ... 55869 files and directories currently installed.) 190s Removing libassuan0:s390x (2.5.6-1build1) ... 190s Processing triggers for libc-bin (2.40-1ubuntu3) ... 190s autopkgtest [02:00:46]: upgrading testbed (apt dist-upgrade and autopurge) 190s Reading package lists... 190s Building dependency tree... 190s Reading state information... 190s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 190s Starting 2 pkgProblemResolver with broken count: 0 190s Done 191s Entering ResolveByKeep 191s 191s The following packages will be upgraded: 191s xauth 191s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 191s Need to get 25.4 kB of archives. 191s After this operation, 4096 B disk space will be freed. 191s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xauth s390x 1:1.1.2-1.1 [25.4 kB] 191s Fetched 25.4 kB in 0s (124 kB/s) 191s (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 ... 55864 files and directories currently installed.) 191s Preparing to unpack .../xauth_1%3a1.1.2-1.1_s390x.deb ... 191s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 191s Setting up xauth (1:1.1.2-1.1) ... 191s Processing triggers for man-db (2.13.0-1) ... 192s Reading package lists... 192s Building dependency tree... 192s Reading state information... 192s Starting pkgProblemResolver with broken count: 0 192s Starting 2 pkgProblemResolver with broken count: 0 192s Done 192s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 195s Reading package lists... 195s Building dependency tree... 195s Reading state information... 195s Starting pkgProblemResolver with broken count: 0 195s Starting 2 pkgProblemResolver with broken count: 0 195s Done 195s The following NEW packages will be installed: 195s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 195s native-architecture 195s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 195s Need to get 1041 kB of archives. 195s After this operation, 12.5 MB of additional disk space will be used. 195s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.82.2-3 [852 kB] 196s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.3 [1990 B] 196s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.2-3 [74.3 kB] 196s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.82.2-3 [112 kB] 196s Fetched 1041 kB in 1s (1917 kB/s) 196s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 196s (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 ... 55864 files and directories currently installed.) 196s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.2-3_s390x.deb ... 196s Unpacking gir1.2-glib-2.0-dev:s390x (2.82.2-3) ... 196s Selecting previously unselected package native-architecture. 196s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 196s Unpacking native-architecture (0.2.3) ... 196s Selecting previously unselected package libgirepository-2.0-0:s390x. 196s Preparing to unpack .../libgirepository-2.0-0_2.82.2-3_s390x.deb ... 196s Unpacking libgirepository-2.0-0:s390x (2.82.2-3) ... 196s Selecting previously unselected package girepository-tools:s390x. 196s Preparing to unpack .../girepository-tools_2.82.2-3_s390x.deb ... 196s Unpacking girepository-tools:s390x (2.82.2-3) ... 196s Setting up native-architecture (0.2.3) ... 196s Setting up libgirepository-2.0-0:s390x (2.82.2-3) ... 196s Setting up gir1.2-glib-2.0-dev:s390x (2.82.2-3) ... 196s Setting up girepository-tools:s390x (2.82.2-3) ... 196s Processing triggers for man-db (2.13.0-1) ... 196s Processing triggers for libc-bin (2.40-1ubuntu3) ... 201s autopkgtest [02:00:57]: test girepository-tools: [----------------------- 201s + cd /tmp/autopkgtest.DcYP6S/autopkgtest_tmp 201s + dpkg-architecture -qDEB_HOST_GNU_TYPE 201s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 201s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 201s + dpkg-architecture -qDEB_HOST_MULTIARCH 201s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 201s + DEB_HOST_MULTIARCH=s390x-linux-gnu 201s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 201s typelib: GLib-2.0 201s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 202s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 202s autopkgtest [02:00:58]: test girepository-tools: -----------------------] 202s autopkgtest [02:00:58]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 202s girepository-tools PASS (superficial) 203s autopkgtest [02:00:59]: test libgio-2.0-dev-bin: preparing testbed 265s autopkgtest [02:02:01]: testbed dpkg architecture: s390x 265s autopkgtest [02:02:01]: testbed apt version: 2.9.14ubuntu1 266s autopkgtest [02:02:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 266s autopkgtest [02:02:02]: testbed release detected to be: plucky 267s autopkgtest [02:02:03]: updating testbed package index (apt update) 267s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 267s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 268s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 268s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 268s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 268s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 268s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 268s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 268s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [112 kB] 268s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [928 B] 268s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [588 kB] 268s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [7444 B] 268s Fetched 1624 kB in 1s (1811 kB/s) 269s Reading package lists... 269s Reading package lists... 269s Building dependency tree... 269s Reading state information... 269s Calculating upgrade... 269s The following package was automatically installed and is no longer required: 269s libassuan0 269s Use 'sudo apt autoremove' to remove it. 270s The following packages will be upgraded: 270s binutils binutils-common binutils-s390x-linux-gnu dirmngr gcc-14-base gnupg 270s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 270s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 270s libsframe1 libstdc++6 publicsuffix 270s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 270s Need to get 6760 kB of archives. 270s After this operation, 392 kB of additional disk space will be used. 270s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libatomic1 s390x 14.2.0-9ubuntu1 [9424 B] 270s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-9ubuntu1 [51.9 kB] 270s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++6 s390x 14.2.0-9ubuntu1 [897 kB] 270s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-s1 s390x 14.2.0-9ubuntu1 [35.9 kB] 270s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-4 [15.8 kB] 270s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-wks-client s390x 2.4.4-2ubuntu20 [75.8 kB] 270s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x dirmngr s390x 2.4.4-2ubuntu20 [341 kB] 270s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x gpgsm s390x 2.4.4-2ubuntu20 [244 kB] 270s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-utils s390x 2.4.4-2ubuntu20 [116 kB] 270s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-agent s390x 2.4.4-2ubuntu20 [241 kB] 270s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x gpg s390x 2.4.4-2ubuntu20 [590 kB] 270s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gpgconf s390x 2.4.4-2ubuntu20 [110 kB] 270s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg all 2.4.4-2ubuntu20 [359 kB] 270s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x keyboxd s390x 2.4.4-2ubuntu20 [81.8 kB] 270s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gpgv s390x 2.4.4-2ubuntu20 [163 kB] 270s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x publicsuffix all 20241025.1547-0.1 [135 kB] 270s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libctf0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 270s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libctf-nobfd0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 270s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x binutils s390x 2.43.50.20241126-3ubuntu1 [3062 B] 270s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-s390x-linux-gnu s390x 2.43.50.20241126-3ubuntu1 [2304 kB] 270s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libbinutils s390x 2.43.50.20241126-3ubuntu1 [482 kB] 270s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-common s390x 2.43.50.20241126-3ubuntu1 [222 kB] 270s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsframe1 s390x 2.43.50.20241126-3ubuntu1 [14.0 kB] 270s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 271s Fetched 6760 kB in 1s (7575 kB/s) 271s (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 ... 55869 files and directories currently installed.) 271s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_s390x.deb ... 271s Unpacking libatomic1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 271s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_s390x.deb ... 271s Unpacking gcc-14-base:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 271s Setting up gcc-14-base:s390x (14.2.0-9ubuntu1) ... 271s (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 ... 55869 files and directories currently installed.) 271s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_s390x.deb ... 271s Unpacking libstdc++6:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 271s Setting up libstdc++6:s390x (14.2.0-9ubuntu1) ... 271s (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 ... 55869 files and directories currently installed.) 271s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_s390x.deb ... 271s Unpacking libgcc-s1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 271s Setting up libgcc-s1:s390x (14.2.0-9ubuntu1) ... 271s (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 ... 55869 files and directories currently installed.) 271s Preparing to unpack .../libcap-ng0_0.8.5-4_s390x.deb ... 271s Unpacking libcap-ng0:s390x (0.8.5-4) over (0.8.5-3build1) ... 271s Setting up libcap-ng0:s390x (0.8.5-4) ... 271s (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 ... 55869 files and directories currently installed.) 271s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 271s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_s390x.deb ... 271s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Setting up gpgv (2.4.4-2ubuntu20) ... 271s (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 ... 55869 files and directories currently installed.) 271s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 271s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 271s Preparing to unpack .../1-libctf0_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking libctf0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../2-libctf-nobfd0_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../3-binutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../4-binutils-s390x-linux-gnu_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../5-libbinutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking libbinutils:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../6-binutils-common_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking binutils-common:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../7-libsframe1_2.43.50.20241126-3ubuntu1_s390x.deb ... 271s Unpacking libsframe1:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 271s Preparing to unpack .../8-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 271s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 271s Setting up binutils-common:s390x (2.43.50.20241126-3ubuntu1) ... 271s Setting up libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) ... 271s Setting up libsframe1:s390x (2.43.50.20241126-3ubuntu1) ... 271s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 271s Setting up libatomic1:s390x (14.2.0-9ubuntu1) ... 271s Setting up gpgconf (2.4.4-2ubuntu20) ... 271s Setting up libbinutils:s390x (2.43.50.20241126-3ubuntu1) ... 271s Setting up publicsuffix (20241025.1547-0.1) ... 271s Setting up gpg (2.4.4-2ubuntu20) ... 271s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 271s Setting up libctf0:s390x (2.43.50.20241126-3ubuntu1) ... 271s Setting up binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) ... 271s Setting up gpg-agent (2.4.4-2ubuntu20) ... 272s Setting up gpgsm (2.4.4-2ubuntu20) ... 272s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 272s Setting up dirmngr (2.4.4-2ubuntu20) ... 272s Setting up keyboxd (2.4.4-2ubuntu20) ... 272s Setting up gnupg (2.4.4-2ubuntu20) ... 272s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 272s Processing triggers for man-db (2.13.0-1) ... 273s Processing triggers for install-info (7.1.1-1) ... 273s Processing triggers for libc-bin (2.40-1ubuntu3) ... 273s Reading package lists... 273s Building dependency tree... 273s Reading state information... 273s The following packages will be REMOVED: 273s libassuan0* 273s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 273s After this operation, 106 kB disk space will be freed. 273s (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 ... 55869 files and directories currently installed.) 273s Removing libassuan0:s390x (2.5.6-1build1) ... 273s Processing triggers for libc-bin (2.40-1ubuntu3) ... 273s autopkgtest [02:02:09]: upgrading testbed (apt dist-upgrade and autopurge) 274s Reading package lists... 274s Building dependency tree... 274s Reading state information... 274s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 274s Starting 2 pkgProblemResolver with broken count: 0 274s Done 274s Entering ResolveByKeep 274s 274s The following packages will be upgraded: 274s xauth 274s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 274s Need to get 25.4 kB of archives. 274s After this operation, 4096 B disk space will be freed. 274s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xauth s390x 1:1.1.2-1.1 [25.4 kB] 275s Fetched 25.4 kB in 0s (125 kB/s) 275s (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 ... 55864 files and directories currently installed.) 275s Preparing to unpack .../xauth_1%3a1.1.2-1.1_s390x.deb ... 275s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 275s Setting up xauth (1:1.1.2-1.1) ... 275s Processing triggers for man-db (2.13.0-1) ... 275s Reading package lists... 275s Building dependency tree... 275s Reading state information... 275s Starting pkgProblemResolver with broken count: 0 275s Starting 2 pkgProblemResolver with broken count: 0 275s Done 276s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 278s Reading package lists... 278s Building dependency tree... 278s Reading state information... 278s Starting pkgProblemResolver with broken count: 0 278s Starting 2 pkgProblemResolver with broken count: 0 278s Done 278s The following NEW packages will be installed: 278s libgio-2.0-dev-bin python3-packaging 279s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 279s Need to get 180 kB of archives. 279s After this operation, 947 kB of additional disk space will be used. 279s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 279s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.82.2-3 [129 kB] 279s Fetched 180 kB in 0s (436 kB/s) 279s Selecting previously unselected package python3-packaging. 279s (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 ... 55864 files and directories currently installed.) 279s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 279s Unpacking python3-packaging (24.2-1) ... 279s Selecting previously unselected package libgio-2.0-dev-bin. 279s Preparing to unpack .../libgio-2.0-dev-bin_2.82.2-3_s390x.deb ... 279s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 279s Setting up python3-packaging (24.2-1) ... 279s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 279s Processing triggers for man-db (2.13.0-1) ... 285s autopkgtest [02:02:21]: test libgio-2.0-dev-bin: [----------------------- 285s + gdbus-codegen --help 285s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 285s [--c-namespace NAMESPACE] [--c-generate-object-manager] 285s [--c-generate-autocleanup {none,objects,all}] 285s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 285s [--generate-rst OUTFILES] [--pragma-once] 285s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 285s [--glib-min-required VERSION] 285s [--glib-max-allowed VERSION] 285s [--symbol-decorator SYMBOL_DECORATOR] 285s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 285s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 285s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 285s [--output FILE | --output-directory OUTDIR] 285s FILE [FILE ...] 285s 285s D-Bus code and documentation generator 285s 285s positional arguments: 285s FILE D-Bus introspection XML file 285s 285s options: 285s -h, --help show this help message and exit 285s --interface-prefix PREFIX 285s String to strip from D-Bus interface names for code 285s and docs 285s --c-namespace NAMESPACE 285s The namespace to use for generated C code 285s --c-generate-object-manager 285s Generate a GDBusObjectManagerClient subclass when 285s generating C code 285s --c-generate-autocleanup {none,objects,all} 285s Generate autocleanup support 285s --generate-docbook OUTFILES 285s Generate Docbook in OUTFILES-org.Project.IFace.xml 285s --generate-md OUTFILES 285s Generate Markdown in OUTFILES-org.Project.IFace.md 285s --generate-rst OUTFILES 285s Generate reStructuredText in OUTFILES- 285s org.Project.IFace.rst 285s --pragma-once Use "pragma once" as the inclusion guard 285s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 285s Add annotation (may be used several times) 285s --glib-min-required VERSION 285s Minimum version of GLib to be supported by the 285s outputted code (default: 2.30) 285s --glib-max-allowed VERSION 285s Maximum version of GLib to be used by the outputted 285s code (default: current GLib version) 285s --symbol-decorator SYMBOL_DECORATOR 285s Macro used to decorate a symbol in the outputted 285s header, possibly to export symbols 285s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 285s Additional header required for decorator specified by 285s --symbol-decorator 285s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 285s Additional define required for decorator specified by 285s --symbol-decorator 285s --generate-c-code OUTFILES 285s Generate C code in OUTFILES.[ch] 285s --header Generate C headers 285s --body Generate C code 285s --interface-info-header 285s Generate GDBusInterfaceInfo C header 285s --interface-info-body 285s Generate GDBusInterfaceInfo C code 285s --output FILE Write output into the specified file 285s --output-directory OUTDIR 285s Location to output generated files 285s + glib-compile-resources --version 285s 2.82.2 285s + glib-genmarshal --version 285s glib-genmarshal version 2.82.2 285s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 285s You may redistribute copies of glib-genmarshal under the terms of 285s the GNU General Public License which can be found in the 285s GLib source package. Sources, examples and contact 285s information are available at http://www.gtk.org 285s + glib-gettextize --version 285s /usr/bin/glib-gettextize (GNU glib) 2.82.2 285s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 285s This is free software; see the source for copying conditions. There is NO 285s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 285s Written by Ulrich Drepper 285s + glib-mkenums --version 285s glib-mkenums version 2.82.2 285s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 285s You may redistribute copies of glib-mkenums under the terms of 285s the GNU General Public License which can be found in the 285s GLib source package. Sources, examples and contact 285s information are available at http://www.gtk.org 285s + gobject-query tree 285s GObject 285s + gtester --version 285s gtester version 2.82.2 285s + gtester-report --version 285s gtester-report (GLib utils) version 2.82.2. 285s autopkgtest [02:02:21]: test libgio-2.0-dev-bin: -----------------------] 286s autopkgtest [02:02:22]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 286s libgio-2.0-dev-bin PASS (superficial) 286s autopkgtest [02:02:22]: test libglib2.0-dev: preparing testbed 345s autopkgtest [02:03:21]: testbed dpkg architecture: s390x 345s autopkgtest [02:03:21]: testbed apt version: 2.9.14ubuntu1 346s autopkgtest [02:03:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 346s autopkgtest [02:03:22]: testbed release detected to be: plucky 347s autopkgtest [02:03:23]: updating testbed package index (apt update) 347s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 348s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 348s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 348s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 348s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 348s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 348s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 348s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 348s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [112 kB] 348s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [928 B] 348s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [588 kB] 348s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [7444 B] 348s Fetched 1624 kB in 1s (1805 kB/s) 349s Reading package lists... 349s Reading package lists... 350s Building dependency tree... 350s Reading state information... 350s Calculating upgrade... 350s The following package was automatically installed and is no longer required: 350s libassuan0 350s Use 'sudo apt autoremove' to remove it. 350s The following packages will be upgraded: 350s binutils binutils-common binutils-s390x-linux-gnu dirmngr gcc-14-base gnupg 350s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 350s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 350s libsframe1 libstdc++6 publicsuffix 350s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 350s Need to get 6760 kB of archives. 350s After this operation, 392 kB of additional disk space will be used. 350s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libatomic1 s390x 14.2.0-9ubuntu1 [9424 B] 350s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-9ubuntu1 [51.9 kB] 350s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++6 s390x 14.2.0-9ubuntu1 [897 kB] 350s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-s1 s390x 14.2.0-9ubuntu1 [35.9 kB] 350s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-4 [15.8 kB] 350s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-wks-client s390x 2.4.4-2ubuntu20 [75.8 kB] 350s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x dirmngr s390x 2.4.4-2ubuntu20 [341 kB] 350s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x gpgsm s390x 2.4.4-2ubuntu20 [244 kB] 350s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-utils s390x 2.4.4-2ubuntu20 [116 kB] 350s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-agent s390x 2.4.4-2ubuntu20 [241 kB] 350s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x gpg s390x 2.4.4-2ubuntu20 [590 kB] 350s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gpgconf s390x 2.4.4-2ubuntu20 [110 kB] 350s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg all 2.4.4-2ubuntu20 [359 kB] 350s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x keyboxd s390x 2.4.4-2ubuntu20 [81.8 kB] 350s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gpgv s390x 2.4.4-2ubuntu20 [163 kB] 350s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x publicsuffix all 20241025.1547-0.1 [135 kB] 350s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libctf0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 350s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libctf-nobfd0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 350s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x binutils s390x 2.43.50.20241126-3ubuntu1 [3062 B] 351s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-s390x-linux-gnu s390x 2.43.50.20241126-3ubuntu1 [2304 kB] 351s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libbinutils s390x 2.43.50.20241126-3ubuntu1 [482 kB] 351s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-common s390x 2.43.50.20241126-3ubuntu1 [222 kB] 351s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsframe1 s390x 2.43.50.20241126-3ubuntu1 [14.0 kB] 351s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 351s Fetched 6760 kB in 1s (8333 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 ... 55869 files and directories currently installed.) 351s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_s390x.deb ... 351s Unpacking libatomic1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 351s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_s390x.deb ... 351s Unpacking gcc-14-base:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 351s Setting up gcc-14-base:s390x (14.2.0-9ubuntu1) ... 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 ... 55869 files and directories currently installed.) 351s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_s390x.deb ... 351s Unpacking libstdc++6:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 351s Setting up libstdc++6:s390x (14.2.0-9ubuntu1) ... 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 ... 55869 files and directories currently installed.) 351s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_s390x.deb ... 351s Unpacking libgcc-s1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 351s Setting up libgcc-s1:s390x (14.2.0-9ubuntu1) ... 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 ... 55869 files and directories currently installed.) 351s Preparing to unpack .../libcap-ng0_0.8.5-4_s390x.deb ... 351s Unpacking libcap-ng0:s390x (0.8.5-4) over (0.8.5-3build1) ... 351s Setting up libcap-ng0:s390x (0.8.5-4) ... 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 ... 55869 files and directories currently installed.) 351s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 351s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_s390x.deb ... 351s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 351s Setting up gpgv (2.4.4-2ubuntu20) ... 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 ... 55869 files and directories currently installed.) 351s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 351s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 351s Preparing to unpack .../1-libctf0_2.43.50.20241126-3ubuntu1_s390x.deb ... 351s Unpacking libctf0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 351s Preparing to unpack .../2-libctf-nobfd0_2.43.50.20241126-3ubuntu1_s390x.deb ... 351s Unpacking libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 351s Preparing to unpack .../3-binutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 351s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 351s Preparing to unpack .../4-binutils-s390x-linux-gnu_2.43.50.20241126-3ubuntu1_s390x.deb ... 351s Unpacking binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 351s Preparing to unpack .../5-libbinutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 351s Unpacking libbinutils:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 352s Preparing to unpack .../6-binutils-common_2.43.50.20241126-3ubuntu1_s390x.deb ... 352s Unpacking binutils-common:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 352s Preparing to unpack .../7-libsframe1_2.43.50.20241126-3ubuntu1_s390x.deb ... 352s Unpacking libsframe1:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 352s Preparing to unpack .../8-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 352s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 352s Setting up binutils-common:s390x (2.43.50.20241126-3ubuntu1) ... 352s Setting up libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) ... 352s Setting up libsframe1:s390x (2.43.50.20241126-3ubuntu1) ... 352s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 352s Setting up libatomic1:s390x (14.2.0-9ubuntu1) ... 352s Setting up gpgconf (2.4.4-2ubuntu20) ... 352s Setting up libbinutils:s390x (2.43.50.20241126-3ubuntu1) ... 352s Setting up publicsuffix (20241025.1547-0.1) ... 352s Setting up gpg (2.4.4-2ubuntu20) ... 352s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 352s Setting up libctf0:s390x (2.43.50.20241126-3ubuntu1) ... 352s Setting up binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) ... 352s Setting up gpg-agent (2.4.4-2ubuntu20) ... 352s Setting up gpgsm (2.4.4-2ubuntu20) ... 352s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 352s Setting up dirmngr (2.4.4-2ubuntu20) ... 352s Setting up keyboxd (2.4.4-2ubuntu20) ... 352s Setting up gnupg (2.4.4-2ubuntu20) ... 352s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 352s Processing triggers for man-db (2.13.0-1) ... 353s Processing triggers for install-info (7.1.1-1) ... 353s Processing triggers for libc-bin (2.40-1ubuntu3) ... 353s Reading package lists... 353s Building dependency tree... 353s Reading state information... 353s The following packages will be REMOVED: 353s libassuan0* 353s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 353s After this operation, 106 kB disk space will be freed. 353s (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 ... 55869 files and directories currently installed.) 353s Removing libassuan0:s390x (2.5.6-1build1) ... 354s Processing triggers for libc-bin (2.40-1ubuntu3) ... 354s autopkgtest [02:03:30]: upgrading testbed (apt dist-upgrade and autopurge) 354s Reading package lists... 354s Building dependency tree... 354s Reading state information... 354s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 354s Starting 2 pkgProblemResolver with broken count: 0 354s Done 354s Entering ResolveByKeep 354s 355s The following packages will be upgraded: 355s xauth 355s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 355s Need to get 25.4 kB of archives. 355s After this operation, 4096 B disk space will be freed. 355s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xauth s390x 1:1.1.2-1.1 [25.4 kB] 355s Fetched 25.4 kB in 0s (126 kB/s) 355s (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 ... 55864 files and directories currently installed.) 355s Preparing to unpack .../xauth_1%3a1.1.2-1.1_s390x.deb ... 355s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 355s Setting up xauth (1:1.1.2-1.1) ... 355s Processing triggers for man-db (2.13.0-1) ... 356s Reading package lists... 356s Building dependency tree... 356s Reading state information... 356s Starting pkgProblemResolver with broken count: 0 356s Starting 2 pkgProblemResolver with broken count: 0 356s Done 356s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 359s Reading package lists... 359s Building dependency tree... 359s Reading state information... 359s Starting pkgProblemResolver with broken count: 0 359s Starting 2 pkgProblemResolver with broken count: 0 359s Done 359s The following NEW packages will be installed: 359s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++ 359s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 359s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev 359s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 359s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-dev 359s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 359s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 359s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 359s libubsan1 native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 359s zlib1g-dev 359s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 359s Need to get 55.0 MB of archives. 359s After this operation, 190 MB of additional disk space will be used. 359s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 360s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 360s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-9ubuntu1 [9568 kB] 360s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-9ubuntu1 [1028 B] 360s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 360s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 360s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-9ubuntu1 [50.7 kB] 360s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-9ubuntu1 [151 kB] 360s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-9ubuntu1 [30.9 kB] 360s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-9ubuntu1 [2964 kB] 360s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-9ubuntu1 [1184 kB] 360s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-9ubuntu1 [1037 kB] 360s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-9ubuntu1 [18.7 MB] 361s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-9ubuntu1 [520 kB] 361s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 361s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 361s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-9ubuntu1 [2609 kB] 361s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-9ubuntu1 [11.0 MB] 361s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-9ubuntu1 [20.1 kB] 361s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 361s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 361s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 361s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gir1.2-glib-2.0-dev s390x 2.82.2-3 [852 kB] 361s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.3 [1990 B] 361s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.2-3 [74.3 kB] 361s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.82.2-3 [112 kB] 361s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libffi-dev s390x 3.4.6-1build1 [58.8 kB] 361s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x uuid-dev s390x 2.40.2-1ubuntu1 [52.4 kB] 361s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libblkid-dev s390x 2.40.2-1ubuntu1 [231 kB] 361s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libsepol-dev s390x 3.7-1 [412 kB] 361s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.42-4ubuntu3 [236 kB] 361s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.42-4ubuntu3 [221 kB] 361s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.42-4ubuntu3 [6820 B] 361s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.42-4ubuntu3 [815 kB] 361s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libselinux1-dev s390x 3.7-3ubuntu1 [169 kB] 361s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libmount-dev s390x 2.40.2-1ubuntu1 [33.0 kB] 361s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libsysprof-capture-4-dev s390x 47.2-1 [51.6 kB] 361s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 361s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 361s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 361s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 361s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev s390x 2.82.2-3 [1813 kB] 361s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 361s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.82.2-3 [129 kB] 361s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.82.2-3 [18.1 kB] 361s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev s390x 2.82.2-3 [18.8 kB] 362s Fetched 55.0 MB in 2s (24.8 MB/s) 362s Selecting previously unselected package libisl23:s390x. 362s (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 ... 55864 files and directories currently installed.) 362s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 362s Unpacking libisl23:s390x (0.27-1) ... 362s Selecting previously unselected package libmpc3:s390x. 362s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 362s Unpacking libmpc3:s390x (1.3.1-1build2) ... 362s Selecting previously unselected package cpp-14-s390x-linux-gnu. 362s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking cpp-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package cpp-14. 362s Preparing to unpack .../03-cpp-14_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking cpp-14 (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package cpp-s390x-linux-gnu. 362s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 362s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package cpp. 362s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 362s Unpacking cpp (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package libcc1-0:s390x. 362s Preparing to unpack .../06-libcc1-0_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libcc1-0:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package libgomp1:s390x. 362s Preparing to unpack .../07-libgomp1_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libgomp1:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package libitm1:s390x. 362s Preparing to unpack .../08-libitm1_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libitm1:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package libasan8:s390x. 362s Preparing to unpack .../09-libasan8_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libasan8:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package libubsan1:s390x. 362s Preparing to unpack .../10-libubsan1_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libubsan1:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package libgcc-14-dev:s390x. 362s Preparing to unpack .../11-libgcc-14-dev_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libgcc-14-dev:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package gcc-14-s390x-linux-gnu. 362s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking gcc-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package gcc-14. 362s Preparing to unpack .../13-gcc-14_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking gcc-14 (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package gcc-s390x-linux-gnu. 362s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 362s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package gcc. 362s Preparing to unpack .../15-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 362s Unpacking gcc (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package libstdc++-14-dev:s390x. 362s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking libstdc++-14-dev:s390x (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package g++-14-s390x-linux-gnu. 362s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking g++-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package g++-14. 362s Preparing to unpack .../18-g++-14_14.2.0-9ubuntu1_s390x.deb ... 362s Unpacking g++-14 (14.2.0-9ubuntu1) ... 362s Selecting previously unselected package g++-s390x-linux-gnu. 362s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 362s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package g++. 362s Preparing to unpack .../20-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 362s Unpacking g++ (4:14.1.0-2ubuntu1) ... 362s Selecting previously unselected package build-essential. 362s Preparing to unpack .../21-build-essential_12.10ubuntu1_s390x.deb ... 362s Unpacking build-essential (12.10ubuntu1) ... 362s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x. 362s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.82.2-3_s390x.deb ... 362s Unpacking gir1.2-glib-2.0-dev:s390x (2.82.2-3) ... 363s Selecting previously unselected package native-architecture. 363s Preparing to unpack .../23-native-architecture_0.2.3_all.deb ... 363s Unpacking native-architecture (0.2.3) ... 363s Selecting previously unselected package libgirepository-2.0-0:s390x. 363s Preparing to unpack .../24-libgirepository-2.0-0_2.82.2-3_s390x.deb ... 363s Unpacking libgirepository-2.0-0:s390x (2.82.2-3) ... 363s Selecting previously unselected package girepository-tools:s390x. 363s Preparing to unpack .../25-girepository-tools_2.82.2-3_s390x.deb ... 363s Unpacking girepository-tools:s390x (2.82.2-3) ... 363s Selecting previously unselected package libffi-dev:s390x. 363s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_s390x.deb ... 363s Unpacking libffi-dev:s390x (3.4.6-1build1) ... 363s Selecting previously unselected package uuid-dev:s390x. 363s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu1_s390x.deb ... 363s Unpacking uuid-dev:s390x (2.40.2-1ubuntu1) ... 363s Selecting previously unselected package libblkid-dev:s390x. 363s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu1_s390x.deb ... 363s Unpacking libblkid-dev:s390x (2.40.2-1ubuntu1) ... 363s Selecting previously unselected package libsepol-dev:s390x. 363s Preparing to unpack .../29-libsepol-dev_3.7-1_s390x.deb ... 363s Unpacking libsepol-dev:s390x (3.7-1) ... 363s Selecting previously unselected package libpcre2-16-0:s390x. 363s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_s390x.deb ... 363s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu3) ... 363s Selecting previously unselected package libpcre2-32-0:s390x. 363s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_s390x.deb ... 363s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu3) ... 363s Selecting previously unselected package libpcre2-posix3:s390x. 363s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_s390x.deb ... 363s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu3) ... 363s Selecting previously unselected package libpcre2-dev:s390x. 363s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_s390x.deb ... 363s Unpacking libpcre2-dev:s390x (10.42-4ubuntu3) ... 363s Selecting previously unselected package libselinux1-dev:s390x. 363s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_s390x.deb ... 363s Unpacking libselinux1-dev:s390x (3.7-3ubuntu1) ... 363s Selecting previously unselected package libmount-dev:s390x. 363s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu1_s390x.deb ... 363s Unpacking libmount-dev:s390x (2.40.2-1ubuntu1) ... 363s Selecting previously unselected package libsysprof-capture-4-dev:s390x. 363s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_s390x.deb ... 363s Unpacking libsysprof-capture-4-dev:s390x (47.2-1) ... 363s Selecting previously unselected package libpkgconf3:s390x. 363s Preparing to unpack .../37-libpkgconf3_1.8.1-4_s390x.deb ... 363s Unpacking libpkgconf3:s390x (1.8.1-4) ... 363s Selecting previously unselected package pkgconf-bin. 363s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_s390x.deb ... 363s Unpacking pkgconf-bin (1.8.1-4) ... 363s Selecting previously unselected package pkgconf:s390x. 363s Preparing to unpack .../39-pkgconf_1.8.1-4_s390x.deb ... 363s Unpacking pkgconf:s390x (1.8.1-4) ... 363s Selecting previously unselected package zlib1g-dev:s390x. 363s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 363s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 363s Selecting previously unselected package libgio-2.0-dev:s390x. 363s Preparing to unpack .../41-libgio-2.0-dev_2.82.2-3_s390x.deb ... 363s Unpacking libgio-2.0-dev:s390x (2.82.2-3) ... 363s Selecting previously unselected package python3-packaging. 363s Preparing to unpack .../42-python3-packaging_24.2-1_all.deb ... 363s Unpacking python3-packaging (24.2-1) ... 363s Selecting previously unselected package libgio-2.0-dev-bin. 363s Preparing to unpack .../43-libgio-2.0-dev-bin_2.82.2-3_s390x.deb ... 363s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 363s Selecting previously unselected package libglib2.0-dev-bin. 363s Preparing to unpack .../44-libglib2.0-dev-bin_2.82.2-3_s390x.deb ... 363s Unpacking libglib2.0-dev-bin (2.82.2-3) ... 363s Selecting previously unselected package libglib2.0-dev:s390x. 363s Preparing to unpack .../45-libglib2.0-dev_2.82.2-3_s390x.deb ... 363s Unpacking libglib2.0-dev:s390x (2.82.2-3) ... 363s Setting up native-architecture (0.2.3) ... 363s Setting up libgirepository-2.0-0:s390x (2.82.2-3) ... 363s Setting up libgomp1:s390x (14.2.0-9ubuntu1) ... 363s Setting up libffi-dev:s390x (3.4.6-1build1) ... 363s Setting up libpcre2-16-0:s390x (10.42-4ubuntu3) ... 363s Setting up libsysprof-capture-4-dev:s390x (47.2-1) ... 363s Setting up libpcre2-32-0:s390x (10.42-4ubuntu3) ... 363s Setting up python3-packaging (24.2-1) ... 363s Setting up libpkgconf3:s390x (1.8.1-4) ... 363s Setting up uuid-dev:s390x (2.40.2-1ubuntu1) ... 363s Setting up libmpc3:s390x (1.3.1-1build2) ... 363s Setting up libsepol-dev:s390x (3.7-1) ... 363s Setting up pkgconf-bin (1.8.1-4) ... 363s Setting up libubsan1:s390x (14.2.0-9ubuntu1) ... 363s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 363s Setting up libpcre2-posix3:s390x (10.42-4ubuntu3) ... 363s Setting up gir1.2-glib-2.0-dev:s390x (2.82.2-3) ... 363s Setting up libasan8:s390x (14.2.0-9ubuntu1) ... 363s Setting up libisl23:s390x (0.27-1) ... 363s Setting up libcc1-0:s390x (14.2.0-9ubuntu1) ... 363s Setting up libitm1:s390x (14.2.0-9ubuntu1) ... 363s Setting up libblkid-dev:s390x (2.40.2-1ubuntu1) ... 363s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 363s Setting up girepository-tools:s390x (2.82.2-3) ... 363s Setting up libpcre2-dev:s390x (10.42-4ubuntu3) ... 363s Setting up libselinux1-dev:s390x (3.7-3ubuntu1) ... 363s Setting up pkgconf:s390x (1.8.1-4) ... 363s Setting up cpp-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 363s Setting up cpp-14 (14.2.0-9ubuntu1) ... 363s Setting up libgcc-14-dev:s390x (14.2.0-9ubuntu1) ... 363s Setting up libstdc++-14-dev:s390x (14.2.0-9ubuntu1) ... 363s Setting up libmount-dev:s390x (2.40.2-1ubuntu1) ... 363s Setting up libglib2.0-dev-bin (2.82.2-3) ... 363s Setting up libgio-2.0-dev:s390x (2.82.2-3) ... 363s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 363s Setting up gcc-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 363s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 363s Setting up g++-14-s390x-linux-gnu (14.2.0-9ubuntu1) ... 363s Setting up cpp (4:14.1.0-2ubuntu1) ... 363s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 363s Setting up gcc-14 (14.2.0-9ubuntu1) ... 363s Setting up g++-14 (14.2.0-9ubuntu1) ... 363s Setting up gcc (4:14.1.0-2ubuntu1) ... 363s Setting up g++ (4:14.1.0-2ubuntu1) ... 363s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 363s Setting up build-essential (12.10ubuntu1) ... 363s Processing triggers for install-info (7.1.1-1) ... 363s Processing triggers for libc-bin (2.40-1ubuntu3) ... 363s Processing triggers for man-db (2.13.0-1) ... 364s Processing triggers for libglib2.0-0t64:s390x (2.82.2-3) ... 364s No schema files found: doing nothing. 364s Setting up libglib2.0-dev:s390x (2.82.2-3) ... 368s autopkgtest [02:03:44]: test libglib2.0-dev: [----------------------- 369s + debian/tests/build 369s + mode=dynamic 369s + getopt -o --long static -n debian/tests/build -- 369s + getopt_temp= -- 369s + eval set -- -- 369s + set -- -- 369s + true 369s + shift 369s + break 369s + mktemp -d 369s + WORKDIR=/tmp/tmp.4SZb3uIcw9 369s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 369s + cd /tmp/tmp.4SZb3uIcw9 369s + [ -n ] 369s + CROSS_COMPILE= 369s + cat 369s + cat 369s + cat 369s + cat 369s + cat 369s + cat 369s + cflags= 369s + pcflags= 369s + packages=glib-2.0 369s + pkg-config --cflags --libs glib-2.0 369s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 369s build (glib, dynamic): OK 369s run (glib, dynamic): OK 369s + echo build (glib, dynamic): OK 369s + [ -x glib-dynamic ] 369s + foo=bar ./glib-dynamic 369s + echo run (glib, dynamic): OK 369s + cflags= 369s + pcflags= 369s + packages=gobject-2.0 369s + pkg-config --cflags --libs gobject-2.0 369s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 369s build (gobject, dynamic): OK 369s + echo build (gobject, dynamic): OK 369s + [ -x gobject-dynamic ] 369s + foo=bar ./gobject-dynamic 369s + echorun (gobject, dynamic): OK 369s run (gobject, dynamic): OK 369s + cflags= 369s + pcflags= 369s + packages=gio-2.0 369s + pkg-config --cflags --libs gio-2.0 369s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 369s build (gio, dynamic): OK 369s + echo build (gio, dynamic): OK 369s + [ -x gio-dynamic ] 369s + foo=bar ./gio-dynamic 369s run (gio, dynamic): OK 369s + echo run (gio, dynamic): OK 369s + cflags= 369s + pcflags= 369s + packages=gio-unix-2.0 369s + pkg-config --cflags --libs gio-unix-2.0 369s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 369s build (gio-unix, dynamic): OK 369s + echo build (gio-unix, dynamic): OK 369s + [ -x gio-unix-dynamic ] 369s + foo=bar ./gio-unix-dynamic 369s run (gio-unix, dynamic): OK 369s + echo run (gio-unix, dynamic): OK 369s + cflags= 369s + pcflags= 369s + packages=gmodule-2.0 369s + pkg-config --cflags --libs gmodule-2.0 369s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 369s build (gmodule, dynamic): OK 369s run (gmodule, dynamic): OK 369s + echo build (gmodule, dynamic): OK 369s + [ -x gmodule-dynamic ] 369s + foo=bar ./gmodule-dynamic 369s + echo run (gmodule, dynamic): OK 369s + cflags= 369s + pcflags= 369s + packages=gthread-2.0 369s + pkg-config --cflags --libs gthread-2.0 369s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 369s build (gthread, dynamic): OK 369s run (gthread, dynamic): OK 369s + echo build (gthread, dynamic): OK 369s + [ -x gthread-dynamic ] 369s + foo=bar ./gthread-dynamic 369s + echo run (gthread, dynamic): OK 369s + rm -rf /tmp/tmp.4SZb3uIcw9 369s + debian/tests/build-static 369s + mode=dynamic 369s + getopt -o --long static -n debian/tests/build -- --static 369s + getopt_temp= --static -- 369s + eval set -- --static -- 369s + set -- --static -- 369s + true 369s + mode=static 369s + shift 369s + continue 369s + true 369s + shift 369s + break 369s + mktemp -d 369s + WORKDIR=/tmp/tmp.5JVShWJ6IS 369s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 369s + cd /tmp/tmp.5JVShWJ6IS 369s + [ -n ] 369s + CROSS_COMPILE= 369s + cat 369s + cat 369s + cat 369s + cat 369s + cat 369s + cat 369s + cflags= 369s + pcflags= 369s + packages=glib-2.0 369s + cflags=-static 369s + pcflags=--static 369s + pkg-config --static --cflags --libs glib-2.0 369s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 369s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 369s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s build (glib, static): OK 369s run (glib, static): OK 369s + echo build (glib, static): OK 369s + [ -x glib-static ] 369s + foo=bar ./glib-static 369s + echo run (glib, static): OK 369s + cflags= 369s + pcflags= 369s + packages=gobject-2.0 369s + cflags=-static 369s + pcflags=--static 369s + pkg-config --static --cflags --libs gobject-2.0 369s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 369s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 369s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s build (gobject, static): OK 369s run (gobject, static): OK 369s + echo build (gobject, static): OK 369s + [ -x gobject-static ] 369s + foo=bar ./gobject-static 369s + echo run (gobject, static): OK 369s + cflags= 369s + pcflags= 369s + packages=gio-2.0 369s + cflags=-static 369s + pcflags=--static 369s + continue 369s + cflags= 369s + pcflags= 369s + packages=gio-unix-2.0 369s + cflags=-static 369s + pcflags=--static 369s + continue 369s + cflags= 369s + pcflags= 369s + packages=gmodule-2.0 369s + cflags=-static 369s + pcflags=--static 369s + pkg-config --static --cflags --libs gmodule-2.0 369s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 369s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 369s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 369s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s build (gmodule, static): OK 369s + echo build (gmodule, static): OK 369s + [ -x gmodule-static ] 369s + foo=bar ./gmodule-static 369s + echo run (gmodule, static): OK 369s run (gmodule, static): OK 369s + cflags= 369s + pcflags= 369s + packages=gthread-2.0 369s + cflags=-static 369s + pcflags=--static 369s + pkg-config --static --cflags --libs gthread-2.0 369s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 369s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 369s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 369s build (gthread, static): OK 369s run (gthread, static): OK 369s + echo build (gthread, static): OK 369s + [ -x gthread-static ] 369s + foo=bar ./gthread-static 369s + echo run (gthread, static): OK 369s + rm -rf /tmp/tmp.5JVShWJ6IS 369s + debian/tests/girepository-tools 369s + cd /tmp/autopkgtest.DcYP6S/autopkgtest_tmp 369s + dpkg-architecture -qDEB_HOST_GNU_TYPE 369s + DEB_HOST_GNU_TYPE=s390x-linux-gnu 369s + dpkg-architecture -qDEB_HOST_MULTIARCH 369s + DEB_HOST_MULTIARCH=s390x-linux-gnu 369s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 369s typelib: GLib-2.0 369s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 370s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 370s + debian/tests/libgio-2.0-dev-bin 370s + gdbus-codegen --help 370s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 370s [--c-namespace NAMESPACE] [--c-generate-object-manager] 370s [--c-generate-autocleanup {none,objects,all}] 370s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 370s [--generate-rst OUTFILES] [--pragma-once] 370s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 370s [--glib-min-required VERSION] 370s [--glib-max-allowed VERSION] 370s [--symbol-decorator SYMBOL_DECORATOR] 370s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 370s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 370s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 370s [--output FILE | --output-directory OUTDIR] 370s FILE [FILE ...] 370s 370s D-Bus code and documentation generator 370s 370s positional arguments: 370s FILE D-Bus introspection XML file 370s 370s options: 370s -h, --help show this help message and exit 370s --interface-prefix PREFIX 370s String to strip from D-Bus interface names for code 370s and docs 370s --c-namespace NAMESPACE 370s The namespace to use for generated C code 370s --c-generate-object-manager 370s Generate a GDBusObjectManagerClient subclass when 370s generating C code 370s --c-generate-autocleanup {none,objects,all} 370s Generate autocleanup support 370s --generate-docbook OUTFILES 370s Generate Docbook in OUTFILES-org.Project.IFace.xml 370s --generate-md OUTFILES 370s Generate Markdown in OUTFILES-org.Project.IFace.md 370s --generate-rst OUTFILES 370s Generate reStructuredText in OUTFILES- 370s org.Project.IFace.rst 370s --pragma-once Use "pragma once" as the inclusion guard 370s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 370s Add annotation (may be used several times) 370s --glib-min-required VERSION 370s Minimum version of GLib to be supported by the 370s outputted code (default: 2.30) 370s --glib-max-allowed VERSION 370s Maximum version of GLib to be used by the outputted 370s code (default: current GLib version) 370s --symbol-decorator SYMBOL_DECORATOR 370s Macro used to decorate a symbol in the outputted 370s header, possibly to export symbols 370s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 370s Additional header required for decorator specified by 370s --symbol-decorator 370s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 370s Additional define required for decorator specified by 370s --symbol-decorator 370s --generate-c-code OUTFILES 370s Generate C code in OUTFILES.[ch] 370s --header Generate C headers 370s --body Generate C code 370s --interface-info-header 370s Generate GDBusInterfaceInfo C header 370s --interface-info-body 370s Generate GDBusInterfaceInfo C code 370s --output FILE Write output into the specified file 370s --output-directory OUTDIR 370s Location to output generated files 370s 2.82.2 370s + glib-compile-resources --version 370s + glib-genmarshal --version 370s + glib-gettextize --version 370s + glib-mkenums --version 370s glib-genmarshal version 2.82.2 370s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 370s You may redistribute copies of glib-genmarshal under the terms of 370s the GNU General Public License which can be found in the 370s GLib source package. Sources, examples and contact 370s information are available at http://www.gtk.org 370s /usr/bin/glib-gettextize (GNU glib) 2.82.2 370s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 370s This is free software; see the source for copying conditions. There is NO 370s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 370s Written by Ulrich Drepper 370s glib-mkenums version 2.82.2 370s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 370s You may redistribute copies of glib-mkenums under the terms of 370s the GNU General Public License which can be found in the 370s GLib source package. Sources, examples and contact 370s information are available at http://www.gtk.org 370s + gobject-query tree 370s + gtester --version 370s GObject 370s + gtester-report --version 370s gtester version 2.82.2 370s gtester-report (GLib utils) version 2.82.2. 370s + cd /tmp/autopkgtest.DcYP6S/autopkgtest_tmp 370s + dpkg-architecture -qDEB_HOST_MULTIARCH 370s + DEB_HOST_MULTIARCH=s390x-linux-gnu 370s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 370s typelib: GLib-2.0 370s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir 370s + gi-decompile-typelib -o GLib.gir GLib.typelib 370s autopkgtest [02:03:46]: test libglib2.0-dev: -----------------------] 371s autopkgtest [02:03:47]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 371s libglib2.0-dev PASS (superficial) 371s autopkgtest [02:03:47]: test installed-tests: preparing testbed 448s autopkgtest [02:05:04]: testbed dpkg architecture: s390x 449s autopkgtest [02:05:05]: testbed apt version: 2.9.14ubuntu1 449s autopkgtest [02:05:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 449s autopkgtest [02:05:05]: testbed release detected to be: plucky 450s autopkgtest [02:05:06]: updating testbed package index (apt update) 450s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 450s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 450s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 450s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 450s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 450s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 450s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 451s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 451s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [112 kB] 451s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [928 B] 451s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [588 kB] 451s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [7444 B] 451s Fetched 1624 kB in 1s (1864 kB/s) 451s Reading package lists... 452s Reading package lists... 452s Building dependency tree... 452s Reading state information... 452s Calculating upgrade... 452s The following package was automatically installed and is no longer required: 452s libassuan0 452s Use 'sudo apt autoremove' to remove it. 452s The following packages will be upgraded: 452s binutils binutils-common binutils-s390x-linux-gnu dirmngr gcc-14-base gnupg 452s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 452s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 452s libsframe1 libstdc++6 publicsuffix 452s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 452s Need to get 6760 kB of archives. 452s After this operation, 392 kB of additional disk space will be used. 452s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libatomic1 s390x 14.2.0-9ubuntu1 [9424 B] 452s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-9ubuntu1 [51.9 kB] 453s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++6 s390x 14.2.0-9ubuntu1 [897 kB] 453s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-s1 s390x 14.2.0-9ubuntu1 [35.9 kB] 453s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-4 [15.8 kB] 453s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-wks-client s390x 2.4.4-2ubuntu20 [75.8 kB] 453s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x dirmngr s390x 2.4.4-2ubuntu20 [341 kB] 453s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x gpgsm s390x 2.4.4-2ubuntu20 [244 kB] 453s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-utils s390x 2.4.4-2ubuntu20 [116 kB] 453s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-agent s390x 2.4.4-2ubuntu20 [241 kB] 453s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x gpg s390x 2.4.4-2ubuntu20 [590 kB] 453s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gpgconf s390x 2.4.4-2ubuntu20 [110 kB] 453s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg all 2.4.4-2ubuntu20 [359 kB] 453s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x keyboxd s390x 2.4.4-2ubuntu20 [81.8 kB] 453s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gpgv s390x 2.4.4-2ubuntu20 [163 kB] 453s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x publicsuffix all 20241025.1547-0.1 [135 kB] 453s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libctf0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 453s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libctf-nobfd0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 453s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x binutils s390x 2.43.50.20241126-3ubuntu1 [3062 B] 453s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-s390x-linux-gnu s390x 2.43.50.20241126-3ubuntu1 [2304 kB] 453s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libbinutils s390x 2.43.50.20241126-3ubuntu1 [482 kB] 453s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-common s390x 2.43.50.20241126-3ubuntu1 [222 kB] 453s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsframe1 s390x 2.43.50.20241126-3ubuntu1 [14.0 kB] 453s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 453s Fetched 6760 kB in 1s (8219 kB/s) 453s (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 ... 55869 files and directories currently installed.) 453s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_s390x.deb ... 453s Unpacking libatomic1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 453s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_s390x.deb ... 453s Unpacking gcc-14-base:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 453s Setting up gcc-14-base:s390x (14.2.0-9ubuntu1) ... 454s (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 ... 55869 files and directories currently installed.) 454s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_s390x.deb ... 454s Unpacking libstdc++6:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 454s Setting up libstdc++6:s390x (14.2.0-9ubuntu1) ... 454s (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 ... 55869 files and directories currently installed.) 454s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_s390x.deb ... 454s Unpacking libgcc-s1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 454s Setting up libgcc-s1:s390x (14.2.0-9ubuntu1) ... 454s (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 ... 55869 files and directories currently installed.) 454s Preparing to unpack .../libcap-ng0_0.8.5-4_s390x.deb ... 454s Unpacking libcap-ng0:s390x (0.8.5-4) over (0.8.5-3build1) ... 454s Setting up libcap-ng0:s390x (0.8.5-4) ... 454s (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 ... 55869 files and directories currently installed.) 454s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 454s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_s390x.deb ... 454s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Setting up gpgv (2.4.4-2ubuntu20) ... 454s (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 ... 55869 files and directories currently installed.) 454s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 454s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 454s Preparing to unpack .../1-libctf0_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking libctf0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../2-libctf-nobfd0_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../3-binutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../4-binutils-s390x-linux-gnu_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../5-libbinutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking libbinutils:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../6-binutils-common_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking binutils-common:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../7-libsframe1_2.43.50.20241126-3ubuntu1_s390x.deb ... 454s Unpacking libsframe1:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 454s Preparing to unpack .../8-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 454s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 454s Setting up binutils-common:s390x (2.43.50.20241126-3ubuntu1) ... 454s Setting up libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) ... 454s Setting up libsframe1:s390x (2.43.50.20241126-3ubuntu1) ... 454s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 454s Setting up libatomic1:s390x (14.2.0-9ubuntu1) ... 454s Setting up gpgconf (2.4.4-2ubuntu20) ... 454s Setting up libbinutils:s390x (2.43.50.20241126-3ubuntu1) ... 454s Setting up publicsuffix (20241025.1547-0.1) ... 454s Setting up gpg (2.4.4-2ubuntu20) ... 454s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 454s Setting up libctf0:s390x (2.43.50.20241126-3ubuntu1) ... 454s Setting up binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) ... 454s Setting up gpg-agent (2.4.4-2ubuntu20) ... 454s Setting up gpgsm (2.4.4-2ubuntu20) ... 454s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 454s Setting up dirmngr (2.4.4-2ubuntu20) ... 454s Setting up keyboxd (2.4.4-2ubuntu20) ... 455s Setting up gnupg (2.4.4-2ubuntu20) ... 455s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 455s Processing triggers for man-db (2.13.0-1) ... 455s Processing triggers for install-info (7.1.1-1) ... 455s Processing triggers for libc-bin (2.40-1ubuntu3) ... 456s Reading package lists... 456s Building dependency tree... 456s Reading state information... 456s The following packages will be REMOVED: 456s libassuan0* 456s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 456s After this operation, 106 kB disk space will be freed. 456s (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 ... 55869 files and directories currently installed.) 456s Removing libassuan0:s390x (2.5.6-1build1) ... 456s Processing triggers for libc-bin (2.40-1ubuntu3) ... 456s autopkgtest [02:05:12]: upgrading testbed (apt dist-upgrade and autopurge) 456s Reading package lists... 456s Building dependency tree... 456s Reading state information... 457s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 457s Starting 2 pkgProblemResolver with broken count: 0 457s Done 457s Entering ResolveByKeep 457s 457s The following packages will be upgraded: 457s xauth 457s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 457s Need to get 25.4 kB of archives. 457s After this operation, 4096 B disk space will be freed. 457s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xauth s390x 1:1.1.2-1.1 [25.4 kB] 457s Fetched 25.4 kB in 0s (126 kB/s) 457s (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 ... 55864 files and directories currently installed.) 457s Preparing to unpack .../xauth_1%3a1.1.2-1.1_s390x.deb ... 457s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 457s Setting up xauth (1:1.1.2-1.1) ... 457s Processing triggers for man-db (2.13.0-1) ... 458s Reading package lists... 458s Building dependency tree... 458s Reading state information... 458s Starting pkgProblemResolver with broken count: 0 458s Starting 2 pkgProblemResolver with broken count: 0 458s Done 459s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 461s Reading package lists... 461s Building dependency tree... 461s Reading state information... 461s Starting pkgProblemResolver with broken count: 0 461s Starting 2 pkgProblemResolver with broken count: 0 461s Done 461s The following NEW packages will be installed: 461s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 461s libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin 461s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa 461s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 461s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 461s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 461s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 461s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 461s mesa-libgallium native-architecture python3-dbusmock python3-packaging 461s tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 462s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 462s Need to get 14.1 MB of archives. 462s After this operation, 59.5 MB of additional disk space will be used. 462s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x dbus-x11 s390x 1.14.10-4ubuntu5 [24.0 kB] 462s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x desktop-file-utils s390x 0.28-1 [53.9 kB] 462s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x native-architecture all 0.2.3 [1990 B] 462s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgirepository-2.0-0 s390x 2.82.2-3 [74.3 kB] 462s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x girepository-tools s390x 2.82.2-3 [112 kB] 462s Get:6 http://ftpmaster.internal/ubuntu plucky/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB] 462s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libdrm-radeon1 s390x 2.4.123-1 [22.4 kB] 462s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB] 462s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 462s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libwayland-server0 s390x 1.23.0-1 [36.5 kB] 462s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-randr0 s390x 1.17.0-2 [19.2 kB] 462s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libglapi-mesa s390x 24.2.3-1ubuntu1 [67.8 kB] 462s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libx11-xcb1 s390x 2:1.8.10-2 [7954 B] 462s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri2-0 s390x 1.17.0-2 [7448 B] 462s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-dri3-0 s390x 1.17.0-2 [7616 B] 462s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-present0 s390x 1.17.0-2 [6244 B] 462s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-sync1 s390x 1.17.0-2 [9488 B] 462s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-xfixes0 s390x 1.17.0-2 [10.5 kB] 462s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libxshmfence1 s390x 1.3-1build5 [4772 B] 462s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x mesa-libgallium s390x 24.2.3-1ubuntu1 [7709 kB] 462s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libgbm1 s390x 24.2.3-1ubuntu1 [33.7 kB] 462s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 462s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libgio-2.0-dev-bin s390x 2.82.2-3 [129 kB] 462s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libvulkan1 s390x 1.3.296.0-1 [143 kB] 462s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1-mesa-dri s390x 24.2.3-1ubuntu1 [34.4 kB] 462s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libglib2.0-dev-bin s390x 2.82.2-3 [18.1 kB] 462s Get:27 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-dbusmock all 0.32.2-2 [90.7 kB] 462s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x tzdata-legacy all 2024b-1ubuntu2 [99.9 kB] 462s Get:29 http://ftpmaster.internal/ubuntu plucky/universe s390x libglib2.0-tests s390x 2.82.2-3 [2174 kB] 462s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-glx0 s390x 1.17.0-2 [26.0 kB] 462s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 462s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libxfixes3 s390x 1:6.0.0-2build1 [11.3 kB] 462s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B] 462s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libglx-mesa0 s390x 24.2.3-1ubuntu1 [175 kB] 462s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 462s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 462s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 462s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 463s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 463s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB] 463s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB] 463s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB] 463s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB] 463s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB] 463s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 463s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB] 463s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x x11-xkb-utils s390x 7.7+9 [169 kB] 463s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 463s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libglvnd0 s390x 1.7.0-1build1 [110 kB] 463s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libglx0 s390x 1.7.0-1build1 [32.2 kB] 463s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x libgl1 s390x 1.7.0-1build1 [142 kB] 463s Get:52 http://ftpmaster.internal/ubuntu plucky/universe s390x xvfb s390x 2:21.1.14-2ubuntu1 [941 kB] 463s Fetched 14.1 MB in 1s (10.7 MB/s) 463s Selecting previously unselected package dbus-x11. 463s (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 ... 55864 files and directories currently installed.) 463s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_s390x.deb ... 463s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 463s Selecting previously unselected package desktop-file-utils. 463s Preparing to unpack .../01-desktop-file-utils_0.28-1_s390x.deb ... 463s Unpacking desktop-file-utils (0.28-1) ... 463s Selecting previously unselected package native-architecture. 463s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 463s Unpacking native-architecture (0.2.3) ... 463s Selecting previously unselected package libgirepository-2.0-0:s390x. 463s Preparing to unpack .../03-libgirepository-2.0-0_2.82.2-3_s390x.deb ... 463s Unpacking libgirepository-2.0-0:s390x (2.82.2-3) ... 463s Selecting previously unselected package girepository-tools:s390x. 463s Preparing to unpack .../04-girepository-tools_2.82.2-3_s390x.deb ... 463s Unpacking girepository-tools:s390x (2.82.2-3) ... 463s Selecting previously unselected package gnome-desktop-testing. 463s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_s390x.deb ... 463s Unpacking gnome-desktop-testing (2021.1-4) ... 463s Selecting previously unselected package libdrm-radeon1:s390x. 463s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_s390x.deb ... 463s Unpacking libdrm-radeon1:s390x (2.4.123-1) ... 463s Selecting previously unselected package libfontenc1:s390x. 463s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_s390x.deb ... 463s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ... 463s Selecting previously unselected package libfreetype6:s390x. 463s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 463s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 463s Selecting previously unselected package libwayland-server0:s390x. 463s Preparing to unpack .../09-libwayland-server0_1.23.0-1_s390x.deb ... 463s Unpacking libwayland-server0:s390x (1.23.0-1) ... 463s Selecting previously unselected package libxcb-randr0:s390x. 463s Preparing to unpack .../10-libxcb-randr0_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-randr0:s390x (1.17.0-2) ... 463s Selecting previously unselected package libglapi-mesa:s390x. 463s Preparing to unpack .../11-libglapi-mesa_24.2.3-1ubuntu1_s390x.deb ... 463s Unpacking libglapi-mesa:s390x (24.2.3-1ubuntu1) ... 463s Selecting previously unselected package libx11-xcb1:s390x. 463s Preparing to unpack .../12-libx11-xcb1_2%3a1.8.10-2_s390x.deb ... 463s Unpacking libx11-xcb1:s390x (2:1.8.10-2) ... 463s Selecting previously unselected package libxcb-dri2-0:s390x. 463s Preparing to unpack .../13-libxcb-dri2-0_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-dri2-0:s390x (1.17.0-2) ... 463s Selecting previously unselected package libxcb-dri3-0:s390x. 463s Preparing to unpack .../14-libxcb-dri3-0_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-dri3-0:s390x (1.17.0-2) ... 463s Selecting previously unselected package libxcb-present0:s390x. 463s Preparing to unpack .../15-libxcb-present0_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-present0:s390x (1.17.0-2) ... 463s Selecting previously unselected package libxcb-sync1:s390x. 463s Preparing to unpack .../16-libxcb-sync1_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-sync1:s390x (1.17.0-2) ... 463s Selecting previously unselected package libxcb-xfixes0:s390x. 463s Preparing to unpack .../17-libxcb-xfixes0_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-xfixes0:s390x (1.17.0-2) ... 463s Selecting previously unselected package libxshmfence1:s390x. 463s Preparing to unpack .../18-libxshmfence1_1.3-1build5_s390x.deb ... 463s Unpacking libxshmfence1:s390x (1.3-1build5) ... 463s Selecting previously unselected package mesa-libgallium:s390x. 463s Preparing to unpack .../19-mesa-libgallium_24.2.3-1ubuntu1_s390x.deb ... 463s Unpacking mesa-libgallium:s390x (24.2.3-1ubuntu1) ... 463s Selecting previously unselected package libgbm1:s390x. 463s Preparing to unpack .../20-libgbm1_24.2.3-1ubuntu1_s390x.deb ... 463s Unpacking libgbm1:s390x (24.2.3-1ubuntu1) ... 463s Selecting previously unselected package python3-packaging. 463s Preparing to unpack .../21-python3-packaging_24.2-1_all.deb ... 463s Unpacking python3-packaging (24.2-1) ... 463s Selecting previously unselected package libgio-2.0-dev-bin. 463s Preparing to unpack .../22-libgio-2.0-dev-bin_2.82.2-3_s390x.deb ... 463s Unpacking libgio-2.0-dev-bin (2.82.2-3) ... 463s Selecting previously unselected package libvulkan1:s390x. 463s Preparing to unpack .../23-libvulkan1_1.3.296.0-1_s390x.deb ... 463s Unpacking libvulkan1:s390x (1.3.296.0-1) ... 463s Selecting previously unselected package libgl1-mesa-dri:s390x. 463s Preparing to unpack .../24-libgl1-mesa-dri_24.2.3-1ubuntu1_s390x.deb ... 463s Unpacking libgl1-mesa-dri:s390x (24.2.3-1ubuntu1) ... 463s Selecting previously unselected package libglib2.0-dev-bin. 463s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.2-3_s390x.deb ... 463s Unpacking libglib2.0-dev-bin (2.82.2-3) ... 463s Selecting previously unselected package python3-dbusmock. 463s Preparing to unpack .../26-python3-dbusmock_0.32.2-2_all.deb ... 463s Unpacking python3-dbusmock (0.32.2-2) ... 463s Selecting previously unselected package tzdata-legacy. 463s Preparing to unpack .../27-tzdata-legacy_2024b-1ubuntu2_all.deb ... 463s Unpacking tzdata-legacy (2024b-1ubuntu2) ... 463s Selecting previously unselected package libglib2.0-tests. 463s Preparing to unpack .../28-libglib2.0-tests_2.82.2-3_s390x.deb ... 463s Unpacking libglib2.0-tests (2.82.2-3) ... 463s Selecting previously unselected package libxcb-glx0:s390x. 463s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_s390x.deb ... 463s Unpacking libxcb-glx0:s390x (1.17.0-2) ... 463s Selecting previously unselected package libxcb-shm0:s390x. 464s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_s390x.deb ... 464s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 464s Selecting previously unselected package libxfixes3:s390x. 464s Preparing to unpack .../31-libxfixes3_1%3a6.0.0-2build1_s390x.deb ... 464s Unpacking libxfixes3:s390x (1:6.0.0-2build1) ... 464s Selecting previously unselected package libxxf86vm1:s390x. 464s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ... 464s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ... 464s Selecting previously unselected package libglx-mesa0:s390x. 464s Preparing to unpack .../33-libglx-mesa0_24.2.3-1ubuntu1_s390x.deb ... 464s Unpacking libglx-mesa0:s390x (24.2.3-1ubuntu1) ... 464s Selecting previously unselected package x11-common. 464s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 464s Unpacking x11-common (1:7.7+23ubuntu3) ... 464s Selecting previously unselected package libice6:s390x. 464s Preparing to unpack .../35-libice6_2%3a1.1.1-1_s390x.deb ... 464s Unpacking libice6:s390x (2:1.1.1-1) ... 464s Selecting previously unselected package libpixman-1-0:s390x. 464s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_s390x.deb ... 464s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 464s Selecting previously unselected package libsm6:s390x. 464s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_s390x.deb ... 464s Unpacking libsm6:s390x (2:1.2.4-1) ... 464s Selecting previously unselected package libxt6t64:s390x. 464s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 464s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 464s Selecting previously unselected package libxmu6:s390x. 464s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_s390x.deb ... 464s Unpacking libxmu6:s390x (2:1.1.3-3build2) ... 464s Selecting previously unselected package libxpm4:s390x. 464s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_s390x.deb ... 464s Unpacking libxpm4:s390x (1:3.5.17-1build2) ... 464s Selecting previously unselected package libxaw7:s390x. 464s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_s390x.deb ... 464s Unpacking libxaw7:s390x (2:1.0.16-1) ... 464s Selecting previously unselected package libxfont2:s390x. 464s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_s390x.deb ... 464s Unpacking libxfont2:s390x (1:2.0.6-1build1) ... 464s Selecting previously unselected package libxkbfile1:s390x. 464s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ... 464s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ... 464s Selecting previously unselected package libxrender1:s390x. 464s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 464s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 464s Selecting previously unselected package libxrandr2:s390x. 464s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_s390x.deb ... 464s Unpacking libxrandr2:s390x (2:1.5.4-1) ... 464s Selecting previously unselected package x11-xkb-utils. 464s Preparing to unpack .../46-x11-xkb-utils_7.7+9_s390x.deb ... 464s Unpacking x11-xkb-utils (7.7+9) ... 464s Selecting previously unselected package xserver-common. 464s Preparing to unpack .../47-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 464s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 464s Selecting previously unselected package libglvnd0:s390x. 464s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_s390x.deb ... 464s Unpacking libglvnd0:s390x (1.7.0-1build1) ... 464s Selecting previously unselected package libglx0:s390x. 464s Preparing to unpack .../49-libglx0_1.7.0-1build1_s390x.deb ... 464s Unpacking libglx0:s390x (1.7.0-1build1) ... 464s Selecting previously unselected package libgl1:s390x. 464s Preparing to unpack .../50-libgl1_1.7.0-1build1_s390x.deb ... 464s Unpacking libgl1:s390x (1.7.0-1build1) ... 464s Selecting previously unselected package xvfb. 464s Preparing to unpack .../51-xvfb_2%3a21.1.14-2ubuntu1_s390x.deb ... 464s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 464s Setting up gnome-desktop-testing (2021.1-4) ... 464s Setting up libxcb-dri3-0:s390x (1.17.0-2) ... 464s Setting up libpixman-1-0:s390x (0.44.0-3) ... 464s Setting up libwayland-server0:s390x (1.23.0-1) ... 464s Setting up libx11-xcb1:s390x (2:1.8.10-2) ... 464s Setting up native-architecture (0.2.3) ... 464s Setting up libxcb-xfixes0:s390x (1.17.0-2) ... 464s Setting up desktop-file-utils (0.28-1) ... 464s Setting up libxpm4:s390x (1:3.5.17-1build2) ... 464s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 464s Setting up libgirepository-2.0-0:s390x (2.82.2-3) ... 464s Setting up libdrm-radeon1:s390x (2.4.123-1) ... 464s Setting up libglvnd0:s390x (1.7.0-1build1) ... 464s Setting up libxcb-glx0:s390x (1.17.0-2) ... 464s Setting up x11-common (1:7.7+23ubuntu3) ... 464s Setting up libxcb-shm0:s390x (1.17.0-2) ... 464s Setting up python3-dbusmock (0.32.2-2) ... 464s Setting up tzdata-legacy (2024b-1ubuntu2) ... 464s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ... 464s Setting up libxcb-present0:s390x (1.17.0-2) ... 464s Setting up libfontenc1:s390x (1:1.1.8-1build1) ... 464s Setting up python3-packaging (24.2-1) ... 464s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 464s Setting up libxfixes3:s390x (1:6.0.0-2build1) ... 464s Setting up libxcb-sync1:s390x (1.17.0-2) ... 464s Setting up libxrandr2:s390x (2:1.5.4-1) ... 464s Setting up libglapi-mesa:s390x (24.2.3-1ubuntu1) ... 464s Setting up libvulkan1:s390x (1.3.296.0-1) ... 464s Setting up libxcb-dri2-0:s390x (1.17.0-2) ... 464s Setting up libxshmfence1:s390x (1.3-1build5) ... 464s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 464s Setting up libxcb-randr0:s390x (1.17.0-2) ... 464s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ... 464s Setting up libxfont2:s390x (1:2.0.6-1build1) ... 464s Setting up libice6:s390x (2:1.1.1-1) ... 464s Setting up mesa-libgallium:s390x (24.2.3-1ubuntu1) ... 464s Setting up libgio-2.0-dev-bin (2.82.2-3) ... 464s Setting up girepository-tools:s390x (2.82.2-3) ... 464s Setting up libgbm1:s390x (24.2.3-1ubuntu1) ... 464s Setting up libgl1-mesa-dri:s390x (24.2.3-1ubuntu1) ... 464s Setting up libsm6:s390x (2:1.2.4-1) ... 464s Setting up libglib2.0-dev-bin (2.82.2-3) ... 464s Setting up libglx-mesa0:s390x (24.2.3-1ubuntu1) ... 464s Setting up libglx0:s390x (1.7.0-1build1) ... 464s Setting up libgl1:s390x (1.7.0-1build1) ... 464s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 464s Setting up libglib2.0-tests (2.82.2-3) ... 465s Setting up libxmu6:s390x (2:1.1.3-3build2) ... 465s Setting up libxaw7:s390x (2:1.0.16-1) ... 465s Setting up x11-xkb-utils (7.7+9) ... 465s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 465s Setting up xvfb (2:21.1.14-2ubuntu1) ... 465s Processing triggers for man-db (2.13.0-1) ... 465s Processing triggers for libc-bin (2.40-1ubuntu3) ... 470s autopkgtest [02:05:26]: test installed-tests: [----------------------- 470s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 470s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 470s group entry: ubuntu:x:1000: 470s Environment: 470s ADTTMP=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp 470s ADT_ARTIFACTS=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts 470s ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 470s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts 470s AUTOPKGTEST_TESTBED_ARCH=s390x 470s AUTOPKGTEST_TEST_ARCH=s390x 470s AUTOPKGTEST_TMP=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp 470s DEBIAN_FRONTEND=noninteractive 470s DEB_BUILD_OPTIONS=parallel=2 470s GIO_USE_VFS=local 470s GIO_USE_VOLUME_MONITOR=unix 470s HOME=/home/ubuntu 470s LANG=C.UTF-8 470s LOGNAME=ubuntu 470s MAIL=/var/mail/ubuntu 470s OLDPWD=/home/ubuntu 470s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 470s PWD=/tmp/autopkgtest.DcYP6S/build.xRy/src 470s SHELL=/bin/bash 470s SHLVL=1 470s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests 470s SUDO_GID=1000 470s SUDO_UID=1000 470s SUDO_USER=ubuntu 470s TERM=linux 470s USER=ubuntu 470s XDG_RUNTIME_DIR=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp 470s http_proxy=http://squid.internal:3128 470s https_proxy=http://squid.internal:3128 470s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 470s run-with-locales: de_DE=ISO-8859-1... 470s Character set: ISO-8859-1 470s Source file: de_DE 470s Output: /tmp/tmp.33hN0jex8q/de_DE 470s run-with-locales: de_DE.utf8... 470s Character set: UTF-8 470s Source file: de_DE 470s Output: /tmp/tmp.33hN0jex8q/de_DE.utf8 471s run-with-locales: de_DE@euro.utf8... 471s Character set: UTF-8 471s Source file: de_DE@euro 471s Output: /tmp/tmp.33hN0jex8q/de_DE@euro.utf8 472s run-with-locales: el_GR.utf8... 472s Character set: UTF-8 472s Source file: el_GR 472s Output: /tmp/tmp.33hN0jex8q/el_GR.utf8 473s run-with-locales: en_GB=ISO-8859-1... 473s Character set: ISO-8859-1 473s Source file: en_GB 473s Output: /tmp/tmp.33hN0jex8q/en_GB 473s run-with-locales: en_GB.utf8... 473s Character set: UTF-8 473s Source file: en_GB 473s Output: /tmp/tmp.33hN0jex8q/en_GB.utf8 474s run-with-locales: en_US=ISO-8859-1... 474s Character set: ISO-8859-1 474s Source file: en_US 474s Output: /tmp/tmp.33hN0jex8q/en_US 474s run-with-locales: en_US.utf8... 474s Character set: UTF-8 474s Source file: en_US 474s Output: /tmp/tmp.33hN0jex8q/en_US.utf8 475s run-with-locales: es_ES.utf8... 475s Character set: UTF-8 475s Source file: es_ES 475s Output: /tmp/tmp.33hN0jex8q/es_ES.utf8 476s run-with-locales: fa_IR=UTF-8... 476s Character set: UTF-8 476s Source file: fa_IR 476s Output: /tmp/tmp.33hN0jex8q/fa_IR 477s run-with-locales: fa_IR.utf8... 477s Character set: UTF-8 477s Source file: fa_IR 477s Output: /tmp/tmp.33hN0jex8q/fa_IR.utf8 478s run-with-locales: fr_FR.utf8... 478s Character set: UTF-8 478s Source file: fr_FR 478s Output: /tmp/tmp.33hN0jex8q/fr_FR.utf8 479s run-with-locales: hr_HR.utf8... 479s Character set: UTF-8 479s Source file: hr_HR 479s Output: /tmp/tmp.33hN0jex8q/hr_HR.utf8 479s run-with-locales: ja_JP.utf8... 479s Character set: UTF-8 479s Source file: ja_JP 479s Output: /tmp/tmp.33hN0jex8q/ja_JP.utf8 480s run-with-locales: ja_JP.EUC-JP... 480s Character set: EUC-JP 480s Source file: ja_JP 480s Output: /tmp/tmp.33hN0jex8q/ja_JP.eucjp 480s run-with-locales: lt_LT.utf8... 480s Character set: UTF-8 480s Source file: lt_LT 480s Output: /tmp/tmp.33hN0jex8q/lt_LT.utf8 481s run-with-locales: pl_PL=ISO-8859-2... 481s Character set: ISO-8859-2 481s Source file: pl_PL 481s Output: /tmp/tmp.33hN0jex8q/pl_PL 482s run-with-locales: pl_PL.ISO-8859-2... 482s Character set: ISO-8859-2 482s Source file: pl_PL 482s Output: /tmp/tmp.33hN0jex8q/pl_PL.iso88592 482s run-with-locales: pl_PL.utf8... 482s Character set: UTF-8 482s Source file: pl_PL 482s Output: /tmp/tmp.33hN0jex8q/pl_PL.utf8 483s run-with-locales: ru_RU=ISO-8859-5... 483s Character set: ISO-8859-5 483s Source file: ru_RU 483s Output: /tmp/tmp.33hN0jex8q/ru_RU 483s run-with-locales: ru_RU.utf8... 483s Character set: UTF-8 483s Source file: ru_RU 483s Output: /tmp/tmp.33hN0jex8q/ru_RU.utf8 484s run-with-locales: sr_RS=UTF-8... 484s Character set: UTF-8 484s Source file: sr_RS 484s Output: /tmp/tmp.33hN0jex8q/sr_RS 485s run-with-locales: sr_RS@latin=UTF-8... 485s Character set: UTF-8 485s Source file: sr_RS@latin 485s Output: /tmp/tmp.33hN0jex8q/sr_RS@latin 486s run-with-locales: sv_SE=ISO-8859-1... 486s Character set: ISO-8859-1 486s Source file: sv_SE 486s Output: /tmp/tmp.33hN0jex8q/sv_SE 486s run-with-locales: sv_SE.utf8... 486s Character set: UTF-8 486s Source file: sv_SE 486s Output: /tmp/tmp.33hN0jex8q/sv_SE.utf8 487s run-with-locales: tr_TR=ISO-8859-9... 487s Character set: ISO-8859-9 487s Source file: tr_TR 487s Output: /tmp/tmp.33hN0jex8q/tr_TR 487s run-with-locales: tr_TR.utf8... 487s Character set: UTF-8 487s Source file: tr_TR 487s Output: /tmp/tmp.33hN0jex8q/tr_TR.utf8 488s run-with-locales: tt_RU=UTF-8... 488s Character set: UTF-8 488s Source file: tt_RU 488s Output: /tmp/tmp.33hN0jex8q/tt_RU 489s run-with-locales: tt_RU.utf8... 489s Character set: UTF-8 489s Source file: tt_RU 489s Output: /tmp/tmp.33hN0jex8q/tt_RU.utf8 490s run-with-locales: tt_RU@iqtelif=UTF-8... 490s Character set: UTF-8 490s Source file: tt_RU@iqtelif 490s Output: /tmp/tmp.33hN0jex8q/tt_RU@iqtelif 491s /tmp/tmp.33hN0jex8q 491s /tmp/tmp.33hN0jex8q/tr_TR 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_NAME 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_PAPER 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_TIME 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/tr_TR/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/en_US.utf8 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/en_US.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/en_GB 491s /tmp/tmp.33hN0jex8q/en_GB/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/en_GB/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/en_GB/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/en_GB/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_GB/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/en_GB/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/en_GB/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/en_GB/LC_NAME 491s /tmp/tmp.33hN0jex8q/en_GB/LC_PAPER 491s /tmp/tmp.33hN0jex8q/en_GB/LC_TIME 491s /tmp/tmp.33hN0jex8q/en_GB/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/en_GB/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/es_ES.utf8 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/es_ES.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/tr_TR.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/fr_FR.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/fa_IR 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_NAME 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_PAPER 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_TIME 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/fa_IR/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/en_GB.utf8 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/en_GB.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/ja_JP.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/pl_PL 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_NAME 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_PAPER 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_TIME 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/pl_PL/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/sv_SE.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/de_DE.utf8 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/de_DE.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/lt_LT.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/pl_PL.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/fa_IR.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_NAME 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_PAPER 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_TIME 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/tt_RU@iqtelif/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/ru_RU 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_NAME 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_PAPER 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_TIME 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/ru_RU/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_NAME 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_PAPER 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_TIME 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/pl_PL.iso88592/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/el_GR.utf8 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/el_GR.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/hr_HR.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/sv_SE 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_NAME 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_PAPER 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_TIME 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/sv_SE/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/de_DE@euro.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/en_US 491s /tmp/tmp.33hN0jex8q/en_US/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/en_US/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/en_US/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/en_US/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_US/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/en_US/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/en_US/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/en_US/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/en_US/LC_NAME 491s /tmp/tmp.33hN0jex8q/en_US/LC_PAPER 491s /tmp/tmp.33hN0jex8q/en_US/LC_TIME 491s /tmp/tmp.33hN0jex8q/en_US/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/en_US/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_NAME 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_PAPER 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_TIME 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/ja_JP.eucjp/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/tt_RU.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/sr_RS@latin 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_NAME 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_PAPER 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_TIME 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/sr_RS@latin/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/de_DE 491s /tmp/tmp.33hN0jex8q/de_DE/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/de_DE/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/de_DE/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/de_DE/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/de_DE/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/de_DE/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/de_DE/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/de_DE/LC_NAME 491s /tmp/tmp.33hN0jex8q/de_DE/LC_PAPER 491s /tmp/tmp.33hN0jex8q/de_DE/LC_TIME 491s /tmp/tmp.33hN0jex8q/de_DE/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/de_DE/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/sr_RS 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_NAME 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_PAPER 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_TIME 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/sr_RS/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_NAME 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_PAPER 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_TIME 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/ru_RU.utf8/LC_TELEPHONE 491s /tmp/tmp.33hN0jex8q/tt_RU 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_NUMERIC 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_MONETARY 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_MEASUREMENT 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_CTYPE 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_ADDRESS 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_IDENTIFICATION 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_NAME 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_PAPER 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_TIME 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_COLLATE 491s /tmp/tmp.33hN0jex8q/tt_RU/LC_TELEPHONE 491s 1..319 491s # Running test: glib/atomic-c-89.test 491s TAP version 14 491s # random seed: R02Sbb2215457ae17ca1d8f8801f1037b579 491s 1..2 491s # Start of atomic tests 491s ok 1 /atomic/types 491s ok 2 /atomic/threaded 491s # End of atomic tests 491s ok - glib/atomic-c-89.test 491s # Running test: glib/atomic.test 491s TAP version 14 491s # random seed: R02S971aacde71ae69cfc7d59a55e6fc6488 491s 1..2 491s # Start of atomic tests 491s ok 1 /atomic/types 491s ok 2 /atomic/threaded 491s # End of atomic tests 491s ok - glib/atomic.test 491s # Running test: glib/environment.test 491s TAP version 14 491s # random seed: R02S2ef042abb2305d37e9d41353ba91dfac 491s 1..6 491s # Start of environ tests 491s # /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. 491s ok 1 /environ/listenv 491s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 491s ok 2 /environ/getenv 491s ok 3 /environ/setenv 491s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 491s ok 4 /environ/array 491s # /environ/null summary: Test getting and setting variables on a NULL envp array. 491s ok 5 /environ/null 491s # /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. 491s ok 6 /environ/case 491s # End of environ tests 491s ok - glib/environment.test 491s # Running test: glib/memory-monitor-dbus.test 491s TAP version 13 491s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 491s 1..1 491s ok - glib/memory-monitor-dbus.test 491s # Running test: glib/shell.test 491s TAP version 14 491s # random seed: R02S8df1b516741d35fcf8c6dd0b66207c69 491s 1..51 491s # Start of shell tests 491s # Start of cmdline tests 491s test cmdline: foo bar 491s ok 1 /shell/cmdline/0 491s test cmdline: foo 'bar' 491s ok 2 /shell/cmdline/1 491s test cmdline: foo "bar" 491s ok 3 /shell/cmdline/2 491s test cmdline: foo '' 'bar' 491s ok 4 /shell/cmdline/3 491s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 491s ok 5 /shell/cmdline/4 491s test cmdline: foo blah foo bar baz 491s ok 6 /shell/cmdline/5 491s test cmdline: foo ' spaces more spaces lots of spaces in this ' 491s ok 7 /shell/cmdline/6 491s test cmdline: foo \ 491s bar 491s ok 8 /shell/cmdline/7 491s test cmdline: foo '' '' 491s ok 9 /shell/cmdline/8 491s test cmdline: foo \" la la la 491s ok 10 /shell/cmdline/9 491s test cmdline: foo \ foo woo woo\ 491s ok 11 /shell/cmdline/10 491s test cmdline: foo "yada yada \$\"" 491s ok 12 /shell/cmdline/11 491s test cmdline: foo "c:\\" 491s ok 13 /shell/cmdline/12 491s test cmdline: foo # bla bla bla 491s bar 491s ok 14 /shell/cmdline/13 491s test cmdline: foo a#b 491s ok 15 /shell/cmdline/14 491s test cmdline: #foo 491s ok 16 /shell/cmdline/15 491s test cmdline: foo bar \ 491s ok 17 /shell/cmdline/16 491s test cmdline: foo 'bar baz 491s ok 18 /shell/cmdline/17 491s test cmdline: foo '"bar" baz 491s ok 19 /shell/cmdline/18 491s test cmdline: 491s ok 20 /shell/cmdline/19 491s test cmdline: 491s ok 21 /shell/cmdline/20 491s test cmdline: # foo bar 491s ok 22 /shell/cmdline/21 491s test cmdline: foo '/bar/summer'\''09 tours.pdf' 491s ok 23 /shell/cmdline/22 491s # End of cmdline tests 491s # Start of quote tests 491s ok 24 /shell/quote/0 491s ok 25 /shell/quote/1 491s ok 26 /shell/quote/2 491s ok 27 /shell/quote/3 491s ok 28 /shell/quote/4 491s ok 29 /shell/quote/5 491s ok 30 /shell/quote/6 491s # End of quote tests 491s # Start of unquote tests 491s ok 31 /shell/unquote/0 491s ok 32 /shell/unquote/1 491s ok 33 /shell/unquote/2 491s ok 34 /shell/unquote/3 491s ok 35 /shell/unquote/4 491s ok 36 /shell/unquote/5 491s ok 37 /shell/unquote/6 491s ok 38 /shell/unquote/7 491s ok 39 /shell/unquote/8 491s ok 40 /shell/unquote/9 491s ok 41 /shell/unquote/10 491s ok 42 /shell/unquote/11 491s ok 43 /shell/unquote/12 491s ok 44 /shell/unquote/13 491s ok 45 /shell/unquote/14 491s ok 46 /shell/unquote/15 491s ok 47 /shell/unquote/16 491s ok 48 /shell/unquote/17 491s ok 49 /shell/unquote/18 491s ok 50 /shell/unquote/19 491s ok 51 /shell/unquote/20 491s # End of unquote tests 491s # End of shell tests 491s ok - glib/shell.test 491s # Running test: glib/gdbus-peer-object-manager.test 491s TAP version 14 491s # random seed: R02Se548151f03e92203db88a0ba1c62d014 491s 1..2 491s # Start of gdbus tests 491s # Start of peer-object-manager tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/normal/.dirs/runtime 491s ok 1 /gdbus/peer-object-manager/normal 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_6VNXX2/gdbus/peer-object-manager/root/.dirs/runtime 491s ok 2 /gdbus/peer-object-manager/root 491s # End of peer-object-manager tests 491s # End of gdbus tests 491s ok - glib/gdbus-peer-object-manager.test 491s # Running test: glib/file-thumbnail.test 491s TAP version 14 491s # random seed: R02S2fca08a48deb80e2ddce131f48e0348d 491s 1..7 491s # Start of file-thumbnail tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/runtime 491s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 491s ok 1 /file-thumbnail/fail 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/runtime 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 491s ok 2 /file-thumbnail/size-priority 491s # Start of valid tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/runtime 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 491s ok 3 /file-thumbnail/valid/normal 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/runtime 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 491s ok 4 /file-thumbnail/valid/large 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/runtime 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 491s ok 5 /file-thumbnail/valid/x-large 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/runtime 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 491s ok 6 /file-thumbnail/valid/xx-large 491s # End of valid tests 491s # Start of unknown tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/runtime 491s # Created test thumbnail at /tmp/test_file-thumbnail_1K9XX2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 491s ok 7 /file-thumbnail/unknown/super-large 491s # End of unknown tests 491s # End of file-thumbnail tests 491s ok - glib/file-thumbnail.test 491s # Running test: glib/cxx-20.test 491s TAP version 14 491s # random seed: R02S192d4dd46f3f5f19ed1507ced0b5acb2 491s 1..2 491s # Start of gtask tests 491s # 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. 491s ok 1 /gtask/name 491s # Start of name tests 491s # 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. 491s ok 2 /gtask/name/macro-wrapper 491s # End of name tests 491s # End of gtask tests 491s ok - glib/cxx-20.test 491s # Running test: glib/socket-listener.test 491s TAP version 14 491s # random seed: R02S049a4f12497e2e7c7c3dbd835b14f201 491s 1..1 491s # Start of socket-listener tests 491s ok 1 /socket-listener/event-signal 491s # End of socket-listener tests 491s ok - glib/socket-listener.test 491s # Running test: glib/utf8-performance.test 491s TAP version 14 491s # random seed: R02S4f50af051bef758fef91e2610da0a974 491s 1..36 491s # Start of utf8 tests 491s # Start of perf tests 491s # Start of get_char tests 491s # max perf: 43.0 MB/s 491s ok 1 /utf8/perf/get_char/ascii 491s # max perf: inf MB/s 491s ok 2 /utf8/perf/get_char/latin1 491s # max perf: 160.0 MB/s 491s ok 3 /utf8/perf/get_char/cyrillic 491s # max perf: inf MB/s 491s ok 4 /utf8/perf/get_char/han 491s # End of get_char tests 491s # Start of get_char-backwards tests 491s # max perf: 43.0 MB/s 491s ok 5 /utf8/perf/get_char-backwards/ascii 491s # max perf: inf MB/s 491s ok 6 /utf8/perf/get_char-backwards/latin1 491s # max perf: 160.0 MB/s 491s ok 7 /utf8/perf/get_char-backwards/cyrillic 491s # max perf: 156.0 MB/s 491s ok 8 /utf8/perf/get_char-backwards/han 491s # End of get_char-backwards tests 491s # Start of get_char_validated tests 491s # max perf: 43.0 MB/s 491s ok 9 /utf8/perf/get_char_validated/ascii 491s # max perf: inf MB/s 491s ok 10 /utf8/perf/get_char_validated/latin1 491s # max perf: 160.0 MB/s 491s ok 11 /utf8/perf/get_char_validated/cyrillic 491s # max perf: inf MB/s 491s ok 12 /utf8/perf/get_char_validated/han 491s # End of get_char_validated tests 491s # Start of utf8_to_ucs4 tests 491s # max perf: 43.0 MB/s 491s ok 13 /utf8/perf/utf8_to_ucs4/ascii 491s # max perf: 67.0 MB/s 491s ok 14 /utf8/perf/utf8_to_ucs4/latin1 491s # max perf: 160.0 MB/s 491s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 491s # max perf: 156.0 MB/s 491s ok 16 /utf8/perf/utf8_to_ucs4/han 491s # End of utf8_to_ucs4 tests 491s # Start of utf8_to_ucs4-sized tests 491s # max perf: 43.0 MB/s 491s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 491s # max perf: inf MB/s 491s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 491s # max perf: 160.0 MB/s 491s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 491s # max perf: inf MB/s 491s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 491s # End of utf8_to_ucs4-sized tests 491s # Start of utf8_to_ucs4_fast tests 491s # max perf: 43.0 MB/s 491s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 491s # max perf: 67.0 MB/s 491s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 491s # max perf: inf MB/s 491s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 491s # max perf: inf MB/s 491s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 491s # End of utf8_to_ucs4_fast tests 491s # Start of utf8_to_ucs4_fast-sized tests 491s # max perf: 43.0 MB/s 491s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 491s # max perf: inf MB/s 491s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 491s # max perf: 160.0 MB/s 491s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 491s # max perf: inf MB/s 491s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 491s # End of utf8_to_ucs4_fast-sized tests 491s # Start of utf8_validate tests 491s # max perf: inf MB/s 491s ok 29 /utf8/perf/utf8_validate/ascii 491s # max perf: inf MB/s 491s ok 30 /utf8/perf/utf8_validate/latin1 491s # max perf: inf MB/s 491s ok 31 /utf8/perf/utf8_validate/cyrillic 491s # max perf: inf MB/s 491s ok 32 /utf8/perf/utf8_validate/han 491s # End of utf8_validate tests 491s # Start of utf8_validate-sized tests 491s # max perf: inf MB/s 491s ok 33 /utf8/perf/utf8_validate-sized/ascii 491s # max perf: inf MB/s 491s ok 34 /utf8/perf/utf8_validate-sized/latin1 491s # max perf: inf MB/s 491s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 491s # max perf: inf MB/s 491s ok 36 /utf8/perf/utf8_validate-sized/han 491s # End of utf8_validate-sized tests 491s # End of perf tests 491s # End of utf8 tests 491s ok - glib/utf8-performance.test 491s # Running test: glib/registered-type-info.test 491s TAP version 14 491s # random seed: R02S45a14d4f292713424b0c2a819d85dc2f 491s 1..1 491s # Start of registered-type-info tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_4J0XX2/registered-type-info/boxed/.dirs/runtime 491s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 491s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 491s # Expecting CClosure to not be boxed 491s # Expecting TypeCValue to not be boxed 491s # Expecting InitiallyUnownedClass to not be boxed 491s # Expecting BookmarkFile to be boxed 491s # Expecting Closure to be boxed 491s # Expecting Object to not be boxed 491s ok 1 /registered-type-info/boxed 491s # End of registered-type-info tests 491s ok - glib/registered-type-info.test 491s # Running test: glib/mount-operation.test 491s TAP version 14 491s # random seed: R02S04d1c448f1b55b809789d3dc743db1df 491s 1..2 491s # Start of mount-operation tests 491s ok 1 /mount-operation/construction 491s ok 2 /mount-operation/properties 491s # End of mount-operation tests 491s ok - glib/mount-operation.test 491s # Running test: glib/param.test 491s TAP version 14 491s # random seed: R02Sa6bcba3ed40c5ba6e8db5b34556d5bb0 491s 1..32 491s # Start of param tests 491s ok 1 /param/value 491s ok 2 /param/strings 491s ok 3 /param/qdata 491s ok 4 /param/validate 491s ok 5 /param/convert 491s ok 6 /param/implement # SKIP Skipping slow /param/implement test 491s ok 7 /param/default 491s ok 8 /param/is-valid-name 491s # Start of invalid-name tests 491s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 491s ok 9 /param/invalid-name/colon 491s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 491s ok 10 /param/invalid-name/first-char 491s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 491s ok 11 /param/invalid-name/empty 491s # End of invalid-name tests 491s # Start of implement tests 491s # Start of subprocess tests 491s # End of subprocess tests 491s # End of implement tests 491s # End of param tests 491s # Start of value tests 491s ok 12 /value/transform 491s # End of value tests 491s # Start of paramspec tests 491s ok 13 /paramspec/char 491s ok 14 /paramspec/uchar 491s ok 15 /paramspec/int 491s ok 16 /paramspec/uint 491s ok 17 /paramspec/long 491s ok 18 /paramspec/ulong 491s ok 19 /paramspec/int64 491s ok 20 /paramspec/uint64 491s ok 21 /paramspec/float 491s ok 22 /paramspec/double 491s ok 23 /paramspec/unichar 491s ok 24 /paramspec/param 491s ok 25 /paramspec/null-param 491s ok 26 /paramspec/string 491s ok 27 /paramspec/override 491s ok 28 /paramspec/gtype 491s ok 29 /paramspec/variant 491s ok 30 /paramspec/custom 491s ok 31 /paramspec/pool 491s # Start of variant tests 491s ok 32 /paramspec/variant/cmp 491s # End of variant tests 491s # End of paramspec tests 491s ok - glib/param.test 491s # Running test: glib/markup-collect.test 491s TAP version 14 491s # random seed: R02S889a90dfa8aaed3595feb6056b603f04 491s 1..21 491s # Start of markup tests 491s # Start of collect tests 491s ok 1 /markup/collect/0 491s ok 2 /markup/collect/1 491s ok 3 /markup/collect/2 491s ok 4 /markup/collect/3 491s ok 5 /markup/collect/4 491s ok 6 /markup/collect/5 491s ok 7 /markup/collect/6 491s ok 8 /markup/collect/7 491s ok 9 /markup/collect/8 491s ok 10 /markup/collect/9 491s ok 11 /markup/collect/10 491s ok 12 /markup/collect/11 491s ok 13 /markup/collect/12 491s ok 14 /markup/collect/13 491s ok 15 /markup/collect/14 491s ok 16 /markup/collect/15 491s ok 17 /markup/collect/16 491s ok 18 /markup/collect/17 491s ok 19 /markup/collect/18 491s ok 20 /markup/collect/19 491s ok 21 /markup/collect/cleanup 491s # End of collect tests 491s # End of markup tests 491s ok - glib/markup-collect.test 491s # Running test: glib/stream-rw_all.test 491s TAP version 14 491s # random seed: R02S7e4907d6bee400b15942a8900b98ab86 491s 1..3 491s # Start of stream tests 491s # Start of read_all_async tests 491s ok 1 /stream/read_all_async/memory 491s # End of read_all_async tests 491s # Start of write_all_async tests 491s ok 2 /stream/write_all_async/memory 491s # End of write_all_async tests 491s # Start of read_write_all_async tests 491s ok 3 /stream/read_write_all_async/pipe 491s # End of read_write_all_async tests 491s # End of stream tests 491s ok - glib/stream-rw_all.test 491s # Running test: glib/gthash.test 491s TAP version 14 491s # random seed: R02S98375adae4dcd2b430f7b629f1e40b13 491s 1..1 491s # Start of gthash tests 491s ok 1 /gthash/build-retrieve 491s # End of gthash tests 491s ok - glib/gthash.test 491s # Running test: glib/gdbus-test-codegen.test 491s TAP version 14 491s # random seed: R02S66ed4e2aefe64d7c91a9fa85ebb74d5c 491s 1..8 491s # Start of gdbus tests 491s # Start of codegen tests 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/annotations/.dirs/runtime 491s ok 1 /gdbus/codegen/annotations 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/interface_stability/.dirs/runtime 491s ok 2 /gdbus/codegen/interface_stability 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/object-manager/.dirs/runtime 491s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 491s ok 3 /gdbus/codegen/object-manager 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/property-naming/.dirs/runtime 491s ok 4 /gdbus/codegen/property-naming 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/autocleanups/.dirs/runtime 491s ok 5 /gdbus/codegen/autocleanups 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/deprecations/.dirs/runtime 491s ok 6 /gdbus/codegen/deprecations 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 491s ok 7 /gdbus/codegen/standalone-interface-info 491s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/home 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/cache 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/config 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/data 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/state 491s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_QACRX2/gdbus/codegen/unix-fd-list/.dirs/runtime 491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 491s ok 8 /gdbus/codegen/unix-fd-list 491s # End of codegen tests 491s # End of gdbus tests 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 491s ok - glib/gdbus-test-codegen.test 491s # Running test: glib/thread-pool.test 491s TAP version 14 491s # random seed: R02S7ea00edd3a2bf1adfd3d11121b429736 491s 1..5 491s # Start of thread_pool tests 491s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 491s ok 1 /thread_pool/shared 491s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 491s ok 2 /thread_pool/exclusive 491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 491s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 491s ok 3 /thread_pool/create_shared_after_exclusive 491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 491s ok 4 /thread_pool/create_full 491s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 491s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 491s ok 5 /thread_pool/create_exclusive_after_shared 491s # End of thread_pool tests 491s ok - glib/thread-pool.test 491s # Running test: glib/spawn-multithreaded.test 491s TAP version 14 491s # random seed: R02S85ad0b47563ec7979d9eb5af3a5809c7 491s 1..4 491s # Start of gthread tests 492s # Child 2970 (ttl 1) exited, status 0 493s # Child 2971 (ttl 2) exited, status 0 493s ok 1 /gthread/spawn-childs 493s # slow test /gthread/spawn-childs executed in 2.00 secs 493s # Created pid: 2976 (ttl 2) 493s # Created pid: 2975 (ttl 1) 494s # Child 2975 (ttl 1) exited, status 0 495s # Child 2976 (ttl 2) exited, status 0 495s ok 2 /gthread/spawn-childs-threads 495s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 495s ok 3 /gthread/spawn-sync 495s ok 4 /gthread/spawn-async 495s # End of gthread tests 495s ok - glib/spawn-multithreaded.test 495s # Running test: glib/1bit-mutex.test 495s TAP version 14 495s # random seed: R02S550e970d2cc5bacfe8271f63edd96350 495s 1..2 495s # Start of glib tests 495s # Start of 1bit-mutex tests 496s # Executing: glib/1bit-mutex.test 498s ok 1 /glib/1bit-mutex/int 498s # slow test /glib/1bit-mutex/int executed in 2.26 secs 500s ok 2 /glib/1bit-mutex/pointer 500s # slow test /glib/1bit-mutex/pointer executed in 2.36 secs 500s # End of 1bit-mutex tests 500s # End of glib tests 500s ok - glib/1bit-mutex.test 500s # Running test: glib/accumulator.test 500s TAP version 14 500s # random seed: R02Sddc0483731030f01205c312e9a80caa2 500s 1..1 500s # Start of gobject tests 500s ok 1 /gobject/accumulator 500s # End of gobject tests 500s ok - glib/accumulator.test 500s # Running test: glib/utils-isolated.test 500s TAP version 14 500s # random seed: R02Sb5d5281fe9850afdda2729cf52584893 500s 1..11 500s # Start of utils-isolated tests 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/tmp-dir/.dirs/runtime 500s ok 1 /utils-isolated/tmp-dir 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/home-dir/.dirs/runtime 500s ok 2 /utils-isolated/home-dir 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-cache-dir/.dirs/runtime 500s ok 3 /utils-isolated/user-cache-dir 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-config-dirs/.dirs/runtime 500s ok 4 /utils-isolated/system-config-dirs 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-config-dir/.dirs/runtime 500s ok 5 /utils-isolated/user-config-dir 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/system-data-dirs/.dirs/runtime 500s ok 6 /utils-isolated/system-data-dirs 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-data-dir/.dirs/runtime 500s ok 7 /utils-isolated/user-data-dir 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-state-dir/.dirs/runtime 500s ok 8 /utils-isolated/user-state-dir 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/user-runtime-dir/.dirs/runtime 500s ok 9 /utils-isolated/user-runtime-dir 500s # Start of cleanup tests 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 500s Unable to clean up temporary directory /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 500s Unable to clean up temporary directory /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 500s Unable to clean up temporary directory /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/handles-errors: Directory not empty 500s ok 10 /utils-isolated/cleanup/handles-errors 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 500s Unable to clean up temporary directory /tmp/test_utils-isolated_5XKYX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 500s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 500s # End of cleanup tests 500s # End of utils-isolated tests 500s ok - glib/utils-isolated.test 500s # Running test: glib/mapping.test 500s TAP version 14 500s # random seed: R02Sc749362d4547f75c91b1add4eb2685a8 500s 1..3 500s # Start of mapping tests 500s # test_mapping: ok 500s ok 1 /mapping/flags 500s ok 2 /mapping/private 500s # test_child_private: child spawned 500s # Subtest: /usr/libexec/installed-tests/glib/mapping 500s # random seed: R02Sc9960613f11c64454e3e84b4a9f0f239 500s # test_child_private: received first child signal 500s # test_child_private: received parent signal 500s # Child exited with status 0 500s # test_child_private: received second child signal 500s ok 3 /mapping/private-child 500s # End of mapping tests 500s ok - glib/mapping.test 500s # Running test: glib/types.test 500s TAP version 14 500s # random seed: R02Seea9e23973cdea297dd3e3d727ba9009 500s 1..1 500s # Start of types tests 500s ok 1 /types/basic_types 500s # End of types tests 500s ok - glib/types.test 500s # Running test: glib/object-info.test 500s TAP version 14 500s # random seed: R02S7c8c816c0e23e423e8018cdbe5e176e7 500s 1..2 500s # Start of object-info tests 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_69EYX2/object-info/find-method-using-interfaces/.dirs/runtime 500s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 500s ok 1 /object-info/find-method-using-interfaces 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_69EYX2/object-info/find-vfunc-using-interfaces/.dirs/runtime 500s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 500s ok 2 /object-info/find-vfunc-using-interfaces 500s # End of object-info tests 500s ok - glib/object-info.test 500s # Running test: glib/trash.test 500s TAP version 14 500s # random seed: R02S3c53ad61941d778bca2855656412d82c 500s 1..3 500s # Start of trash tests 500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 500s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 500s # File: /tmp/test-trashSYAYX2 (parent st_dev: 64769) 500s # Home: /home/ubuntu (st_dev: 64769) 500s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 500s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 500s ok 3 /trash/long-filename 500s # End of trash tests 500s ok - glib/trash.test 500s # Running test: glib/boxed.test 500s TAP version 14 500s # random seed: R02Seba978ebcb4662d5dbb71d3c3a580d9b 500s 1..27 500s # Start of boxed tests 500s ok 1 /boxed/define 500s ok 2 /boxed/ownership 500s ok 3 /boxed/closure 500s ok 4 /boxed/date 500s ok 5 /boxed/value 500s ok 6 /boxed/string 500s ok 7 /boxed/hashtable 500s ok 8 /boxed/array 500s ok 9 /boxed/ptrarray 500s ok 10 /boxed/regex 500s ok 11 /boxed/varianttype 500s ok 12 /boxed/error 500s ok 13 /boxed/datetime 500s ok 14 /boxed/matchinfo 500s ok 15 /boxed/keyfile 500s ok 16 /boxed/mainloop 500s ok 17 /boxed/maincontext 500s ok 18 /boxed/source 500s ok 19 /boxed/variantbuilder 500s ok 20 /boxed/timezone 500s ok 21 /boxed/pollfd 500s ok 22 /boxed/markup 500s ok 23 /boxed/thread 500s ok 24 /boxed/checksum 500s ok 25 /boxed/tree 500s ok 26 /boxed/patternspec 500s ok 27 /boxed/rand 500s # End of boxed tests 500s ok - glib/boxed.test 500s # Running test: glib/refcount-macro.test 500s TAP version 14 500s # random seed: R02S0d7d2a3bd49e63bb23860d87af948011 500s 1..4 500s # Start of refcount tests 500s ok 1 /refcount/grefcount 500s ok 2 /refcount/gatomicrefcount 500s # Start of grefcount tests 500s ok 3 /refcount/grefcount/saturation 500s # End of grefcount tests 500s # Start of gatomicrefcount tests 500s ok 4 /refcount/gatomicrefcount/saturation 500s # End of gatomicrefcount tests 500s # End of refcount tests 500s ok - glib/refcount-macro.test 500s # Running test: glib/tls-certificate.test 500s TAP version 14 500s # random seed: R02S7d3227fa57c8a81ce6f29a809ffaebcd 500s 1..19 500s # Start of tls-certificate tests 500s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 500s ok 1 /tls-certificate/pem-parser 500s ok 2 /tls-certificate/pem-parser-handles-chain 500s ok 3 /tls-certificate/from_file 500s ok 4 /tls-certificate/from_files 500s ok 5 /tls-certificate/from_files_crlf 500s ok 6 /tls-certificate/from_files_pkcs8 500s ok 7 /tls-certificate/from_files_pkcs8enc 500s ok 8 /tls-certificate/list_from_file 500s ok 9 /tls-certificate/pkcs11-uri 500s ok 10 /tls-certificate/pkcs11-uri-unsupported 500s ok 11 /tls-certificate/from_pkcs12 500s ok 12 /tls-certificate/from_pkcs12_file 500s ok 13 /tls-certificate/not-valid-before 500s ok 14 /tls-certificate/not-valid-after 500s ok 15 /tls-certificate/subject-name 500s ok 16 /tls-certificate/issuer-name 500s ok 17 /tls-certificate/dns-names 500s ok 18 /tls-certificate/ip-addresses 500s ok 19 /tls-certificate/pem-parser-no-sentinel 500s # End of tls-certificate tests 500s ok - glib/tls-certificate.test 500s # Running test: glib/gdbus-connection-loss.test 500s TAP version 14 500s # random seed: R02S537cbd54d263fbd4e2cab14f2b6fe275 500s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 500s 1..1 500s # Start of gdbus tests 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_9GSYX2/gdbus/connection-loss/.dirs/runtime 500s ok 1 /gdbus/connection-loss 500s # End of gdbus tests 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 500s ok - glib/gdbus-connection-loss.test 500s # Running test: glib/convert.test 500s TAP version 14 500s # random seed: R02S4be057516375d1c3629539870141148e 500s 1..14 500s # Start of conversion tests 500s ok 1 /conversion/no-conv 500s ok 2 /conversion/iconv-state 500s ok 3 /conversion/illegal-sequence 500s ok 4 /conversion/byte-order 500s ok 5 /conversion/unicode 500s ok 6 /conversion/filename-utf8 500s ok 7 /conversion/filename-display 500s ok 8 /conversion/convert-embedded-nul 500s # Start of locale-to-utf8 tests 500s ok 9 /conversion/locale-to-utf8/embedded-nul 500s # Start of embedded-nul tests 500s # Start of subprocess tests 500s # End of subprocess tests 500s # End of embedded-nul tests 500s # End of locale-to-utf8 tests 500s # Start of locale-from-utf8 tests 500s ok 10 /conversion/locale-from-utf8/embedded-nul 500s # Start of embedded-nul tests 500s # Start of subprocess tests 500s # End of subprocess tests 500s # End of embedded-nul tests 500s # End of locale-from-utf8 tests 500s # Start of filename-to-utf8 tests 500s ok 11 /conversion/filename-to-utf8/embedded-nul 500s # Start of embedded-nul tests 500s # Start of subprocess tests 500s # End of subprocess tests 500s # End of embedded-nul tests 500s # End of filename-to-utf8 tests 500s # Start of filename-from-utf8 tests 500s ok 12 /conversion/filename-from-utf8/embedded-nul 500s # Start of embedded-nul tests 500s # Start of subprocess tests 500s # End of subprocess tests 500s # End of embedded-nul tests 500s # End of filename-from-utf8 tests 500s # Start of filename-from-uri tests 500s ok 13 /conversion/filename-from-uri/query-is-ignored 500s ok 14 /conversion/filename-from-uri/fragment-is-ignored 500s # End of filename-from-uri tests 500s # End of conversion tests 500s ok - glib/convert.test 500s # Running test: glib/signals-refcount1.test 500s TAP version 14 500s # random seed: R02S2e70ef824e957422ee6a2226e4668e80 500s 1..1 500s # Start of gobject tests 500s # Start of refcount tests 500s # init 0x2aa3485b420 500s # 500s # init 0x2aa3485b5c0 500s # 501s # Executing: glib/signals-refcount1.test 505s # dispose 0x2aa3485b420! 505s # 505s # dispose 0x2aa3485b5c0! 505s # 505s ok 1 /gobject/refcount/signals 505s # slow test /gobject/refcount/signals executed in 5.00 secs 505s # End of refcount tests 505s # End of gobject tests 505s ok - glib/signals-refcount1.test 505s # Running test: glib/giomodule.test 505s TAP version 14 505s # random seed: R02S792e1f1727443d1c36aacf2373cc0eaa 505s 1..3 505s # Start of giomodule tests 505s ok 1 /giomodule/extension-point 505s ok 2 /giomodule/module-scan-all 505s ok 3 /giomodule/module-scan-all-with-scope 505s # End of giomodule tests 505s ok - glib/giomodule.test 505s # Running test: glib/cxx-17.test 505s TAP version 14 505s # random seed: R02S176f4927acd947b9c389f41857dfffaa 505s 1..2 505s # Start of gtask tests 505s # 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. 505s ok 1 /gtask/name 505s # Start of name tests 505s # 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. 505s ok 2 /gtask/name/macro-wrapper 505s # End of name tests 505s # End of gtask tests 505s ok - glib/cxx-17.test 505s # Running test: glib/data-output-stream.test 505s TAP version 14 505s # random seed: R02Sd9e5fad2471bea5b4791ea07a62d66d0 505s 1..7 505s # Start of data-output-stream tests 505s ok 1 /data-output-stream/basic 505s ok 2 /data-output-stream/write-lines-LF 505s ok 3 /data-output-stream/write-lines-CR 505s ok 4 /data-output-stream/write-lines-CR-LF 505s ok 5 /data-output-stream/write-int 505s ok 6 /data-output-stream/seek 505s ok 7 /data-output-stream/truncate 505s # End of data-output-stream tests 505s ok - glib/data-output-stream.test 505s # Running test: glib/data-input-stream.test 505s TAP version 14 505s # random seed: R02Se43d2797cb9e0255897b145625ae420c 505s 1..10 505s # Start of data-input-stream tests 505s ok 1 /data-input-stream/basic 505s ok 2 /data-input-stream/read-lines-LF 505s ok 3 /data-input-stream/read-lines-LF-valid-utf8 505s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 505s ok 5 /data-input-stream/read-lines-CR 505s ok 6 /data-input-stream/read-lines-CR-LF 505s ok 7 /data-input-stream/read-lines-any 505s ok 8 /data-input-stream/read-until 505s ok 9 /data-input-stream/read-upto 505s ok 10 /data-input-stream/read-int 505s # End of data-input-stream tests 505s ok - glib/data-input-stream.test 505s # Running test: glib/gdbus-proxy-well-known-name.test 505s TAP version 14 505s # random seed: R02Sb6aeb68d9d6e17eea6c8ac5201e4f6a0 505s 1..1 505s # Start of gdbus tests 505s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/home 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/cache 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/system-config2 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/config 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/system-data2 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/data 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/state 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_J44RX2/gdbus/proxy-well-known-name/.dirs/runtime 505s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 505s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 505s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 505s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 505s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 505s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 505s ok 1 /gdbus/proxy-well-known-name 505s # End of gdbus tests 505s ok - glib/gdbus-proxy-well-known-name.test 505s # Running test: glib/portal-support-flatpak-gsettings-only.test 505s TAP version 14 505s # random seed: R02S9eb09cd1d01a123037147ab24e204ce6 505s 1..1 505s # Start of portal-support tests 505s # Start of flatpak tests 505s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/home 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/cache 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/system-config2 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/config 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/system-data2 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/data 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/state 505s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/runtime 505s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_MRISX2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 505s ok 1 /portal-support/flatpak/gsettings 505s # End of flatpak tests 505s # End of portal-support tests 505s ok - glib/portal-support-flatpak-gsettings-only.test 505s # Running test: glib/include.test 505s TAP version 14 505s # random seed: R02Sd436bfabe2d7f7fed7964a9ba201fc32 505s 1..1 505s # Start of include tests 505s ok 1 /include/rwlock 505s # End of include tests 505s ok - glib/include.test 505s # Running test: glib/codegen.py.test 505s TAP version 13 505s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 505s # tmpdir: /tmp/tmpctyft40y 505s # codegen: /usr/bin/gdbus-codegen 505s # /tmp/tmpctyft40y/tmpp_qd49su.xml: 505s # 505s # 505s # 505s # 505s # 505s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpctyft40y/tmpp_qd49su.xml', '--output', '-', '--header'] 505s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 505s # Output: /* 505s # * This file is generated by gdbus-codegen, do not modify it. 505s # * 505s # * The license of this code is the same as for the D-Bus interface description 505s # * it was derived from. Note that it links to GLib, so must comply with the 505s # * LGPL linking clauses. 505s # */ 505s # 505s # #ifndef __STDOUT__ 505s # #define __STDOUT__ 505s # 505s # #include 505s # 505s # G_BEGIN_DECLS 505s # 505s # 505s # /* ------------------------------------------------------------------------ */ 505s # /* Declarations for org.project.UsefulInterface */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 505s # 505s # struct _OrgProjectUsefulInterface; 505s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 505s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 505s # 505s # struct _OrgProjectUsefulInterfaceIface 505s # { 505s # GTypeInterface parent_iface; 505s # 505s # gboolean (*handle_useful_method) ( 505s # OrgProjectUsefulInterface *object, 505s # GDBusMethodInvocation *invocation); 505s # 505s # }; 505s # 505s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 505s # 505s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 505s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 505s # 505s # 505s # /* D-Bus method call completion functions: */ 505s # void org_project_useful_interface_complete_useful_method ( 505s # OrgProjectUsefulInterface *object, 505s # GDBusMethodInvocation *invocation); 505s # 505s # 505s # 505s # /* D-Bus method calls: */ 505s # void org_project_useful_interface_call_useful_method ( 505s # OrgProjectUsefulInterface *proxy, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # 505s # gboolean org_project_useful_interface_call_useful_method_finish ( 505s # OrgProjectUsefulInterface *proxy, 505s # GAsyncResult *res, 505s # GError **error); 505s # 505s # gboolean org_project_useful_interface_call_useful_method_sync ( 505s # OrgProjectUsefulInterface *proxy, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # 505s # 505s # /* ---- */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 505s # 505s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 505s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 505s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 505s # 505s # struct _OrgProjectUsefulInterfaceProxy 505s # { 505s # /*< private >*/ 505s # GDBusProxy parent_instance; 505s # OrgProjectUsefulInterfaceProxyPrivate *priv; 505s # }; 505s # 505s # struct _OrgProjectUsefulInterfaceProxyClass 505s # { 505s # GDBusProxyClass parent_class; 505s # }; 505s # 505s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 505s # 505s # #if GLIB_CHECK_VERSION(2, 44, 0) 505s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 505s # #endif 505s # 505s # void org_project_useful_interface_proxy_new ( 505s # GDBusConnection *connection, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 505s # GAsyncResult *res, 505s # GError **error); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 505s # GDBusConnection *connection, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # void org_project_useful_interface_proxy_new_for_bus ( 505s # GBusType bus_type, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 505s # GAsyncResult *res, 505s # GError **error); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 505s # GBusType bus_type, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # 505s # /* ---- */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 505s # 505s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 505s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 505s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 505s # 505s # struct _OrgProjectUsefulInterfaceSkeleton 505s # { 505s # /*< private >*/ 505s # GDBusInterfaceSkeleton parent_instance; 505s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 505s # }; 505s # 505s # struct _OrgProjectUsefulInterfaceSkeletonClass 505s # { 505s # GDBusInterfaceSkeletonClass parent_class; 505s # }; 505s # 505s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 505s # 505s # #if GLIB_CHECK_VERSION(2, 44, 0) 505s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 505s # #endif 505s # 505s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 505s # 505s # 505s # G_END_DECLS 505s # 505s # #endif /* __STDOUT__ */ 505s # /tmp/tmpctyft40y/tmp0f8bziag.xml: 505s # 505s # 505s # 505s # 505s # 505s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpctyft40y/tmp0f8bziag.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 505s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 505s # Output: /* 505s # * This file is generated by gdbus-codegen, do not modify it. 505s # * 505s # * The license of this code is the same as for the D-Bus interface description 505s # * it was derived from. Note that it links to GLib, so must comply with the 505s # * LGPL linking clauses. 505s # */ 505s # 505s # #ifndef __STDOUT__ 505s # #define __STDOUT__ 505s # 505s # #include 505s # 505s # G_BEGIN_DECLS 505s # 505s # 505s # /* ------------------------------------------------------------------------ */ 505s # /* Declarations for org.project.UsefulInterface */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 505s # 505s # struct _OrgProjectUsefulInterface; 505s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 505s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 505s # 505s # struct _OrgProjectUsefulInterfaceIface 505s # { 505s # GTypeInterface parent_iface; 505s # 505s # gboolean (*handle_useful_method) ( 505s # OrgProjectUsefulInterface *object, 505s # GDBusMethodInvocation *invocation); 505s # 505s # }; 505s # 505s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 505s # 505s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 505s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 505s # 505s # 505s # /* D-Bus method call completion functions: */ 505s # void org_project_useful_interface_complete_useful_method ( 505s # OrgProjectUsefulInterface *object, 505s # GDBusMethodInvocation *invocation); 505s # 505s # 505s # 505s # /* D-Bus method calls: */ 505s # void org_project_useful_interface_call_useful_method ( 505s # OrgProjectUsefulInterface *proxy, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # 505s # gboolean org_project_useful_interface_call_useful_method_finish ( 505s # OrgProjectUsefulInterface *proxy, 505s # GAsyncResult *res, 505s # GError **error); 505s # 505s # gboolean org_project_useful_interface_call_useful_method_sync ( 505s # OrgProjectUsefulInterface *proxy, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # 505s # 505s # /* ---- */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 505s # 505s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 505s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 505s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 505s # 505s # struct _OrgProjectUsefulInterfaceProxy 505s # { 505s # /*< private >*/ 505s # GDBusProxy parent_instance; 505s # OrgProjectUsefulInterfaceProxyPrivate *priv; 505s # }; 505s # 505s # struct _OrgProjectUsefulInterfaceProxyClass 505s # { 505s # GDBusProxyClass parent_class; 505s # }; 505s # 505s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 505s # 505s # #if GLIB_CHECK_VERSION(2, 44, 0) 505s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 505s # #endif 505s # 505s # void org_project_useful_interface_proxy_new ( 505s # GDBusConnection *connection, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 505s # GAsyncResult *res, 505s # GError **error); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 505s # GDBusConnection *connection, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # void org_project_useful_interface_proxy_new_for_bus ( 505s # GBusType bus_type, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 505s # GAsyncResult *res, 505s # GError **error); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 505s # GBusType bus_type, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # 505s # /* ---- */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 505s # 505s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 505s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 505s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 505s # 505s # struct _OrgProjectUsefulInterfaceSkeleton 505s # { 505s # /*< private >*/ 505s # GDBusInterfaceSkeleton parent_instance; 505s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 505s # }; 505s # 505s # struct _OrgProjectUsefulInterfaceSkeletonClass 505s # { 505s # GDBusInterfaceSkeletonClass parent_class; 505s # }; 505s # 505s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 505s # 505s # #if GLIB_CHECK_VERSION(2, 44, 0) 505s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 505s # #endif 505s # 505s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 505s # 505s # 505s # G_END_DECLS 505s # 505s # #endif /* __STDOUT__ */ 505s # /tmp/tmpctyft40y/tmpa7xtd2jp.xml: 505s # 505s # 505s # 505s # 505s # 505s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpctyft40y/tmpa7xtd2jp.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 505s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 505s # Output: /* 505s # * This file is generated by gdbus-codegen, do not modify it. 505s # * 505s # * The license of this code is the same as for the D-Bus interface description 505s # * it was derived from. Note that it links to GLib, so must comply with the 505s # * LGPL linking clauses. 505s # */ 505s # 505s # #ifndef __STDOUT__ 505s # #define __STDOUT__ 505s # 505s # #include 505s # 505s # G_BEGIN_DECLS 505s # 505s # 505s # /* ------------------------------------------------------------------------ */ 505s # /* Declarations for org.project.UsefulInterface */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 505s # 505s # struct _OrgProjectUsefulInterface; 505s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 505s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 505s # 505s # struct _OrgProjectUsefulInterfaceIface 505s # { 505s # GTypeInterface parent_iface; 505s # 505s # gboolean (*handle_useful_method) ( 505s # OrgProjectUsefulInterface *object, 505s # GDBusMethodInvocation *invocation); 505s # 505s # }; 505s # 505s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 505s # 505s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 505s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 505s # 505s # 505s # /* D-Bus method call completion functions: */ 505s # void org_project_useful_interface_complete_useful_method ( 505s # OrgProjectUsefulInterface *object, 505s # GDBusMethodInvocation *invocation); 505s # 505s # 505s # 505s # /* D-Bus method calls: */ 505s # void org_project_useful_interface_call_useful_method ( 505s # OrgProjectUsefulInterface *proxy, 505s # GDBusCallFlags call_flags, 505s # gint timeout_msec, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # 505s # gboolean org_project_useful_interface_call_useful_method_finish ( 505s # OrgProjectUsefulInterface *proxy, 505s # GAsyncResult *res, 505s # GError **error); 505s # 505s # gboolean org_project_useful_interface_call_useful_method_sync ( 505s # OrgProjectUsefulInterface *proxy, 505s # GDBusCallFlags call_flags, 505s # gint timeout_msec, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # 505s # 505s # /* ---- */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 505s # 505s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 505s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 505s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 505s # 505s # struct _OrgProjectUsefulInterfaceProxy 505s # { 505s # /*< private >*/ 505s # GDBusProxy parent_instance; 505s # OrgProjectUsefulInterfaceProxyPrivate *priv; 505s # }; 505s # 505s # struct _OrgProjectUsefulInterfaceProxyClass 505s # { 505s # GDBusProxyClass parent_class; 505s # }; 505s # 505s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 505s # 505s # #if GLIB_CHECK_VERSION(2, 44, 0) 505s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 505s # #endif 505s # 505s # void org_project_useful_interface_proxy_new ( 505s # GDBusConnection *connection, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 505s # GAsyncResult *res, 505s # GError **error); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 505s # GDBusConnection *connection, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # void org_project_useful_interface_proxy_new_for_bus ( 505s # GBusType bus_type, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GAsyncReadyCallback callback, 505s # gpointer user_data); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 505s # GAsyncResult *res, 505s # GError **error); 505s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 505s # GBusType bus_type, 505s # GDBusProxyFlags flags, 505s # const gchar *name, 505s # const gchar *object_path, 505s # GCancellable *cancellable, 505s # GError **error); 505s # 505s # 505s # /* ---- */ 505s # 505s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 505s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 505s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 505s # 505s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 505s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 505s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 505s # 505s # struct _OrgProjectUsefulInterfaceSkeleton 505s # { 505s # /*< private >*/ 505s # GDBusInterfaceSkeleton parent_instance; 505s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 505s # }; 505s # 505s # struct _OrgProjectUsefulInterfaceSkeletonClass 505s # { 505s # GDBusInterfaceSkeletonClass parent_class; 505s # }; 505s # 505s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 505s # 505s # #if GLIB_CHECK_VERSION(2, 44, 0) 505s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 505s # #endif 505s # 505s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 505s # 505s # 505s # G_END_DECLS 505s # 505s # #endif /* __STDOUT__ */ 506s ok 2 __main__.TestCodegen.test_dbus_types 506s # tmpdir: /tmp/tmpeiuk_777 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmpeiuk_777/tmp1e_vs4j5.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmp1e_vs4j5.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmplv1w2k3q.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmplv1w2k3q.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmp79lqytb0.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmp79lqytb0.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpf7ow2qt7.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpf7ow2qt7.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpvoawqest.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpvoawqest.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmprgn0reyp.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmprgn0reyp.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmp3o3ws_2h.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmp3o3ws_2h.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpb35yooyx.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpb35yooyx.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpx2us92wv.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpx2us92wv.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpcx0lgikq.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpcx0lgikq.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpkp0dkqk6.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpkp0dkqk6.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmp_nva5rxp.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmp_nva5rxp.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpy_44bk6x.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpy_44bk6x.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # /tmp/tmpeiuk_777/tmpn8n4r0a4.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpn8n4r0a4.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifdef HAVE_CONFIG_H 506s # # include "config.h" 506s # #endif 506s # 506s # #include 506s # #ifdef G_OS_UNIX 506s # # include 506s # #endif 506s # 506s # #ifdef G_ENABLE_DEBUG 506s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 506s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 506s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 506s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 506s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 506s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 506s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 506s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 506s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 506s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 506s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 506s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 506s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 506s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 506s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 506s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 506s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 506s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 506s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 506s # #else /* !G_ENABLE_DEBUG */ 506s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 506s # * Do not access GValues directly in your code. Instead, use the 506s # * g_value_get_*() functions 506s # */ 506s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 506s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 506s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 506s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 506s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 506s # #endif /* !G_ENABLE_DEBUG */ 506s # 506s # typedef struct 506s # { 506s # GDBusArgInfo parent_struct; 506s # gboolean use_gvariant; 506s # } _ExtendedGDBusArgInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusMethodInfo parent_struct; 506s # const gchar *signal_name; 506s # gboolean pass_fdlist; 506s # } _ExtendedGDBusMethodInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusSignalInfo parent_struct; 506s # const gchar *signal_name; 506s # } _ExtendedGDBusSignalInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusPropertyInfo parent_struct; 506s # const gchar *hyphen_name; 506s # guint use_gvariant : 1; 506s # guint emits_changed_signal : 1; 506s # } _ExtendedGDBusPropertyInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusInterfaceInfo parent_struct; 506s # const gchar *hyphen_name; 506s # } _ExtendedGDBusInterfaceInfo; 506s # 506s # typedef struct 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # guint prop_id; 506s # GValue orig_value; /* the value before the change */ 506s # } ChangedProperty; 506s # 506s # static void 506s # _changed_property_free (ChangedProperty *data) 506s # { 506s # g_value_unset (&data->orig_value); 506s # g_free (data); 506s # } 506s # 506s # static gboolean 506s # _g_strv_equal0 (gchar **a, gchar **b) 506s # { 506s # gboolean ret = FALSE; 506s # guint n; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # if (g_strv_length (a) != g_strv_length (b)) 506s # goto out; 506s # for (n = 0; a[n] != NULL; n++) 506s # if (g_strcmp0 (a[n], b[n]) != 0) 506s # goto out; 506s # ret = TRUE; 506s # out: 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _g_variant_equal0 (GVariant *a, GVariant *b) 506s # { 506s # gboolean ret = FALSE; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # ret = g_variant_equal (a, b); 506s # out: 506s # return ret; 506s # } 506s # 506s # G_GNUC_UNUSED static gboolean 506s # _g_value_equal (const GValue *a, const GValue *b) 506s # { 506s # gboolean ret = FALSE; 506s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 506s # switch (G_VALUE_TYPE (a)) 506s # { 506s # case G_TYPE_BOOLEAN: 506s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 506s # break; 506s # case G_TYPE_UCHAR: 506s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 506s # break; 506s # case G_TYPE_INT: 506s # ret = (g_value_get_int (a) == g_value_get_int (b)); 506s # break; 506s # case G_TYPE_UINT: 506s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 506s # break; 506s # case G_TYPE_INT64: 506s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 506s # break; 506s # case G_TYPE_UINT64: 506s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 506s # break; 506s # case G_TYPE_DOUBLE: 506s # { 506s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 506s # gdouble da = g_value_get_double (a); 506s # gdouble db = g_value_get_double (b); 506s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 506s # } 506s # break; 506s # case G_TYPE_STRING: 506s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 506s # break; 506s # case G_TYPE_VARIANT: 506s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 506s # break; 506s # default: 506s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 506s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 506s # else 506s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 506s # break; 506s # } 506s # return ret; 506s # } 506s # 506s # /* ------------------------------------------------------------------------ 506s # * Code for interface GoodTypes 506s # * ------------------------------------------------------------------------ 506s # */ 506s # 506s # /** 506s # * SECTION:GoodTypes 506s # * @title: GoodTypes 506s # * @short_description: Generated C code for the GoodTypes D-Bus interface 506s # * 506s # * This section contains code for working with the GoodTypes D-Bus interface in C. 506s # */ 506s # 506s # /* ---- Introspection data for GoodTypes ---- */ 506s # 506s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 506s # { 506s # { 506s # -1, 506s # (gchar *) "GoodPropertyType", 506s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 506s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 506s # NULL 506s # }, 506s # "good-property-type", 506s # FALSE, 506s # TRUE 506s # }; 506s # 506s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 506s # { 506s # &_good_types_property_info_good_property_type.parent_struct, 506s # NULL 506s # }; 506s # 506s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 506s # { 506s # { 506s # -1, 506s # (gchar *) "GoodTypes", 506s # NULL, 506s # NULL, 506s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 506s # NULL 506s # }, 506s # "good-types", 506s # }; 506s # 506s # 506s # /** 506s # * good_types_interface_info: 506s # * 506s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 506s # * 506s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 506s # */ 506s # GDBusInterfaceInfo * 506s # good_types_interface_info (void) 506s # { 506s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 506s # } 506s # 506s # /** 506s # * good_types_override_properties: 506s # * @klass: The class structure for a #GObject derived class. 506s # * @property_id_begin: The property id to assign to the first overridden property. 506s # * 506s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 506s # * The properties are overridden in the order they are defined. 506s # * 506s # * Returns: The last property id. 506s # */ 506s # guint 506s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 506s # { 506s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 506s # return property_id_begin - 1; 506s # } 506s # 506s # 506s # 506s # /** 506s # * GoodTypes: 506s # * 506s # * Abstract interface type for the D-Bus interface GoodTypes. 506s # */ 506s # 506s # /** 506s # * GoodTypesIface: 506s # * @parent_iface: The parent interface. 506s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 506s # * 506s # * Virtual table for the D-Bus interface GoodTypes. 506s # */ 506s # 506s # typedef GoodTypesIface GoodTypesInterface; 506s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 506s # 506s # static void 506s # good_types_default_init (GoodTypesIface *iface) 506s # { 506s # /* GObject properties for D-Bus properties: */ 506s # /** 506s # * GoodTypes:good-property-type: 506s # * 506s # * Represents the D-Bus property "GoodPropertyType". 506s # * 506s # * 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. 506s # */ 506s # g_object_interface_install_property (iface, 506s # 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)); 506s # } 506s # 506s # /** 506s # * good_types_get_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * 506s # * Gets the value of the "GoodPropertyType" D-Bus property. 506s # * 506s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 506s # * 506s # * 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. 506s # * 506s # * 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. 506s # */ 506s # GVariant * 506s # good_types_get_good_property_type (GoodTypes *object) 506s # { 506s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 506s # 506s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 506s # } 506s # 506s # /** 506s # * good_types_dup_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * 506s # * Gets a copy of the "GoodPropertyType" D-Bus property. 506s # * 506s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 506s # * 506s # * 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(). 506s # */ 506s # GVariant * 506s # good_types_dup_good_property_type (GoodTypes *object) 506s # { 506s # GVariant *value; 506s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 506s # return value; 506s # } 506s # 506s # /** 506s # * good_types_set_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * @value: The value to set. 506s # * 506s # * Sets the "GoodPropertyType" D-Bus property to @value. 506s # * 506s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 506s # */ 506s # void 506s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 506s # { 506s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * GoodTypesProxy: 506s # * 506s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * GoodTypesProxyClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for GoodTypesProxy. 506s # */ 506s # 506s # struct _GoodTypesProxyPrivate 506s # { 506s # GData *qdata; 506s # }; 506s # 506s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 506s # G_ADD_PRIVATE (GoodTypesProxy) 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 506s # 506s # #endif 506s # static void 506s # good_types_proxy_finalize (GObject *object) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 506s # g_datalist_clear (&proxy->priv->qdata); 506s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # good_types_proxy_get_property (GObject *object, 506s # guint prop_id, 506s # GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GVariant *variant; 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 506s # if (info->use_gvariant) 506s # { 506s # g_value_set_variant (value, variant); 506s # } 506s # else 506s # { 506s # if (variant != NULL) 506s # g_dbus_gvariant_to_gvalue (variant, value); 506s # } 506s # if (variant != NULL) 506s # g_variant_unref (variant); 506s # } 506s # 506s # static void 506s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 506s # GAsyncResult *res, 506s # gpointer user_data) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info = user_data; 506s # GError *error; 506s # GVariant *_ret; 506s # error = NULL; 506s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 506s # if (!_ret) 506s # { 506s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 506s # info->parent_struct.name, 506s # error->message, g_quark_to_string (error->domain), error->code); 506s # g_error_free (error); 506s # } 506s # else 506s # { 506s # g_variant_unref (_ret); 506s # } 506s # } 506s # 506s # static void 506s # good_types_proxy_set_property (GObject *object, 506s # guint prop_id, 506s # const GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GVariant *variant; 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_dbus_proxy_call (G_DBUS_PROXY (object), 506s # "org.freedesktop.DBus.Properties.Set", 506s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 506s # g_variant_unref (variant); 506s # } 506s # 506s # static void 506s # good_types_proxy_g_signal (GDBusProxy *proxy, 506s # const gchar *sender_name G_GNUC_UNUSED, 506s # const gchar *signal_name, 506s # GVariant *parameters) 506s # { 506s # _ExtendedGDBusSignalInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # gsize n; 506s # guint signal_id; 506s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 506s # if (info == NULL) 506s # return; 506s # num_params = g_variant_n_children (parameters); 506s # paramv = g_new0 (GValue, num_params + 1); 506s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 506s # g_value_set_object (¶mv[0], proxy); 506s # g_variant_iter_init (&iter, parameters); 506s # n = 1; 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 506s # g_signal_emitv (paramv, signal_id, 0, NULL); 506s # for (n = 0; n < num_params + 1; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static void 506s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 506s # GVariant *changed_properties, 506s # const gchar *const *invalidated_properties) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 506s # guint n; 506s # const gchar *key; 506s # GVariantIter *iter; 506s # _ExtendedGDBusPropertyInfo *info; 506s # g_variant_get (changed_properties, "a{sv}", &iter); 506s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 506s # g_datalist_remove_data (&proxy->priv->qdata, key); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # g_variant_iter_free (iter); 506s # for (n = 0; invalidated_properties[n] != NULL; n++) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 506s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # } 506s # 506s # static GVariant * 506s # good_types_proxy_get_good_property_type (GoodTypes *object) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 506s # GVariant *variant; 506s # GVariant *value = NULL; 506s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 506s # value = variant; 506s # if (variant != NULL) 506s # g_variant_unref (variant); 506s # return value; 506s # } 506s # 506s # static void 506s # good_types_proxy_init (GoodTypesProxy *proxy) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # proxy->priv = good_types_proxy_get_instance_private (proxy); 506s # #else 506s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 506s # #endif 506s # 506s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 506s # } 506s # 506s # static void 506s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusProxyClass *proxy_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = good_types_proxy_finalize; 506s # gobject_class->get_property = good_types_proxy_get_property; 506s # gobject_class->set_property = good_types_proxy_set_property; 506s # 506s # proxy_class = G_DBUS_PROXY_CLASS (klass); 506s # proxy_class->g_signal = good_types_proxy_g_signal; 506s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 506s # 506s # good_types_override_properties (gobject_class, 1); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # good_types_proxy_iface_init (GoodTypesIface *iface) 506s # { 506s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 506s # * 506s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # good_types_proxy_new ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with good_types_proxy_new(). 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_sync: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See good_types_proxy_new() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_sync ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /** 506s # * good_types_proxy_new_for_bus: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 506s # * 506s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # good_types_proxy_new_for_bus ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_for_bus_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with good_types_proxy_new_for_bus(). 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_for_bus_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_for_bus_sync: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_for_bus_sync ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * GoodTypesSkeleton: 506s # * 506s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * GoodTypesSkeletonClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for GoodTypesSkeleton. 506s # */ 506s # 506s # struct _GoodTypesSkeletonPrivate 506s # { 506s # GValue *properties; 506s # GList *changed_properties; 506s # GSource *changed_properties_idle_source; 506s # GMainContext *context; 506s # GMutex lock; 506s # }; 506s # 506s # static void 506s # _good_types_skeleton_handle_method_call ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name, 506s # const gchar *method_name, 506s # GVariant *parameters, 506s # GDBusMethodInvocation *invocation, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # _ExtendedGDBusMethodInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # guint num_extra; 506s # gsize n; 506s # guint signal_id; 506s # GValue return_value = G_VALUE_INIT; 506s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 506s # g_assert (info != NULL); 506s # num_params = g_variant_n_children (parameters); 506s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 506s # n = 0; 506s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 506s # g_value_set_object (¶mv[n++], skeleton); 506s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 506s # g_value_set_object (¶mv[n++], invocation); 506s # if (info->pass_fdlist) 506s # { 506s # #ifdef G_OS_UNIX 506s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 506s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 506s # #else 506s # g_assert_not_reached (); 506s # #endif 506s # } 506s # g_variant_iter_init (&iter, parameters); 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 506s # g_value_init (&return_value, G_TYPE_BOOLEAN); 506s # g_signal_emitv (paramv, signal_id, 0, &return_value); 506s # if (!g_value_get_boolean (&return_value)) 506s # 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); 506s # g_value_unset (&return_value); 506s # for (n = 0; n < num_params + num_extra; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static GVariant * 506s # _good_types_skeleton_handle_get_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # GVariant *ret; 506s # ret = NULL; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # g_value_init (&value, pspec->value_type); 506s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_value_unset (&value); 506s # } 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _good_types_skeleton_handle_set_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GVariant *variant, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # gboolean ret; 506s # ret = FALSE; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # if (info->use_gvariant) 506s # g_value_set_variant (&value, variant); 506s # else 506s # g_dbus_gvariant_to_gvalue (variant, &value); 506s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # g_value_unset (&value); 506s # ret = TRUE; 506s # } 506s # return ret; 506s # } 506s # 506s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 506s # { 506s # _good_types_skeleton_handle_method_call, 506s # _good_types_skeleton_handle_get_property, 506s # _good_types_skeleton_handle_set_property, 506s # {NULL} 506s # }; 506s # 506s # static GDBusInterfaceInfo * 506s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return good_types_interface_info (); 506s # } 506s # 506s # static GDBusInterfaceVTable * 506s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 506s # } 506s # 506s # static GVariant * 506s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 506s # 506s # GVariantBuilder builder; 506s # guint n; 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # if (_good_types_interface_info.parent_struct.properties == NULL) 506s # goto out; 506s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 506s # { 506s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 506s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 506s # { 506s # GVariant *value; 506s # 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); 506s # if (value != NULL) 506s # { 506s # g_variant_take_ref (value); 506s # g_variant_builder_add (&builder, "{sv}", info->name, value); 506s # g_variant_unref (value); 506s # } 506s # } 506s # } 506s # out: 506s # return g_variant_builder_end (&builder); 506s # } 506s # 506s # static gboolean _good_types_emit_changed (gpointer user_data); 506s # 506s # static void 506s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 506s # gboolean emit_changed = FALSE; 506s # 506s # g_mutex_lock (&skeleton->priv->lock); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # { 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # skeleton->priv->changed_properties_idle_source = NULL; 506s # emit_changed = TRUE; 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # 506s # if (emit_changed) 506s # _good_types_emit_changed (skeleton); 506s # } 506s # 506s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_ADD_PRIVATE (GoodTypesSkeleton) 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 506s # 506s # #endif 506s # static void 506s # good_types_skeleton_finalize (GObject *object) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # guint n; 506s # for (n = 0; n < 1; n++) 506s # g_value_unset (&skeleton->priv->properties[n]); 506s # g_free (skeleton->priv->properties); 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # g_main_context_unref (skeleton->priv->context); 506s # g_mutex_clear (&skeleton->priv->lock); 506s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # good_types_skeleton_get_property (GObject *object, 506s # guint prop_id, 506s # GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # } 506s # 506s # static gboolean 506s # _good_types_emit_changed (gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GList *l; 506s # GVariantBuilder builder; 506s # GVariantBuilder invalidated_builder; 506s # guint num_changes; 506s # 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 506s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 506s # { 506s # ChangedProperty *cp = l->data; 506s # GVariant *variant; 506s # const GValue *cur_value; 506s # 506s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 506s # if (!_g_value_equal (cur_value, &cp->orig_value)) 506s # { 506s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 506s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 506s # g_variant_unref (variant); 506s # num_changes++; 506s # } 506s # } 506s # if (num_changes > 0) 506s # { 506s # GList *connections, *ll; 506s # GVariant *signal_variant; 506s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 506s # &builder, &invalidated_builder)); 506s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 506s # for (ll = connections; ll != NULL; ll = ll->next) 506s # { 506s # GDBusConnection *connection = ll->data; 506s # 506s # g_dbus_connection_emit_signal (connection, 506s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 506s # "org.freedesktop.DBus.Properties", 506s # "PropertiesChanged", 506s # signal_variant, 506s # NULL); 506s # } 506s # g_variant_unref (signal_variant); 506s # g_list_free_full (connections, g_object_unref); 506s # } 506s # else 506s # { 506s # g_variant_builder_clear (&builder); 506s # g_variant_builder_clear (&invalidated_builder); 506s # } 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # skeleton->priv->changed_properties = NULL; 506s # skeleton->priv->changed_properties_idle_source = NULL; 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # return FALSE; 506s # } 506s # 506s # static void 506s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 506s # { 506s # ChangedProperty *cp; 506s # GList *l; 506s # cp = NULL; 506s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 506s # { 506s # ChangedProperty *i_cp = l->data; 506s # if (i_cp->info == info) 506s # { 506s # cp = i_cp; 506s # break; 506s # } 506s # } 506s # if (cp == NULL) 506s # { 506s # cp = g_new0 (ChangedProperty, 1); 506s # cp->prop_id = prop_id; 506s # cp->info = info; 506s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 506s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 506s # g_value_copy (orig_value, &cp->orig_value); 506s # } 506s # } 506s # 506s # static void 506s # good_types_skeleton_notify (GObject *object, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_mutex_lock (&skeleton->priv->lock); 506s # if (skeleton->priv->changed_properties != NULL && 506s # skeleton->priv->changed_properties_idle_source == NULL) 506s # { 506s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 506s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 506s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 506s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 506s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 506s # g_source_unref (skeleton->priv->changed_properties_idle_source); 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # } 506s # 506s # static void 506s # good_types_skeleton_set_property (GObject *object, 506s # guint prop_id, 506s # const GValue *value, 506s # GParamSpec *pspec) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_object_freeze_notify (object); 506s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 506s # { 506s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 506s # info->emits_changed_signal) 506s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 506s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 506s # g_object_notify_by_pspec (object, pspec); 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # g_object_thaw_notify (object); 506s # } 506s # 506s # static void 506s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 506s # #else 506s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 506s # #endif 506s # 506s # g_mutex_init (&skeleton->priv->lock); 506s # skeleton->priv->context = g_main_context_ref_thread_default (); 506s # skeleton->priv->properties = g_new0 (GValue, 1); 506s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 506s # } 506s # 506s # static GVariant * 506s # good_types_skeleton_get_good_property_type (GoodTypes *object) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # GVariant *value; 506s # g_mutex_lock (&skeleton->priv->lock); 506s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # return value; 506s # } 506s # 506s # static void 506s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusInterfaceSkeletonClass *skeleton_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = good_types_skeleton_finalize; 506s # gobject_class->get_property = good_types_skeleton_get_property; 506s # gobject_class->set_property = good_types_skeleton_set_property; 506s # gobject_class->notify = good_types_skeleton_notify; 506s # 506s # 506s # good_types_override_properties (gobject_class, 1); 506s # 506s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 506s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 506s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 506s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 506s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # good_types_skeleton_iface_init (GoodTypesIface *iface) 506s # { 506s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 506s # } 506s # 506s # /** 506s # * good_types_skeleton_new: 506s # * 506s # * Creates a skeleton object for the D-Bus interface GoodTypes. 506s # * 506s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 506s # */ 506s # GoodTypes * 506s # good_types_skeleton_new (void) 506s # { 506s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 506s # } 506s # /tmp/tmpeiuk_777/tmpkod6yxgm.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmpkod6yxgm.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifdef HAVE_CONFIG_H 506s # # include "config.h" 506s # #endif 506s # 506s # #include 506s # #ifdef G_OS_UNIX 506s # # include 506s # #endif 506s # 506s # #ifdef G_ENABLE_DEBUG 506s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 506s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 506s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 506s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 506s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 506s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 506s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 506s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 506s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 506s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 506s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 506s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 506s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 506s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 506s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 506s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 506s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 506s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 506s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 506s # #else /* !G_ENABLE_DEBUG */ 506s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 506s # * Do not access GValues directly in your code. Instead, use the 506s # * g_value_get_*() functions 506s # */ 506s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 506s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 506s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 506s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 506s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 506s # #endif /* !G_ENABLE_DEBUG */ 506s # 506s # typedef struct 506s # { 506s # GDBusArgInfo parent_struct; 506s # gboolean use_gvariant; 506s # } _ExtendedGDBusArgInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusMethodInfo parent_struct; 506s # const gchar *signal_name; 506s # gboolean pass_fdlist; 506s # } _ExtendedGDBusMethodInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusSignalInfo parent_struct; 506s # const gchar *signal_name; 506s # } _ExtendedGDBusSignalInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusPropertyInfo parent_struct; 506s # const gchar *hyphen_name; 506s # guint use_gvariant : 1; 506s # guint emits_changed_signal : 1; 506s # } _ExtendedGDBusPropertyInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusInterfaceInfo parent_struct; 506s # const gchar *hyphen_name; 506s # } _ExtendedGDBusInterfaceInfo; 506s # 506s # typedef struct 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # guint prop_id; 506s # GValue orig_value; /* the value before the change */ 506s # } ChangedProperty; 506s # 506s # static void 506s # _changed_property_free (ChangedProperty *data) 506s # { 506s # g_value_unset (&data->orig_value); 506s # g_free (data); 506s # } 506s # 506s # static gboolean 506s # _g_strv_equal0 (gchar **a, gchar **b) 506s # { 506s # gboolean ret = FALSE; 506s # guint n; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # if (g_strv_length (a) != g_strv_length (b)) 506s # goto out; 506s # for (n = 0; a[n] != NULL; n++) 506s # if (g_strcmp0 (a[n], b[n]) != 0) 506s # goto out; 506s # ret = TRUE; 506s # out: 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _g_variant_equal0 (GVariant *a, GVariant *b) 506s # { 506s # gboolean ret = FALSE; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # ret = g_variant_equal (a, b); 506s # out: 506s # return ret; 506s # } 506s # 506s # G_GNUC_UNUSED static gboolean 506s # _g_value_equal (const GValue *a, const GValue *b) 506s # { 506s # gboolean ret = FALSE; 506s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 506s # switch (G_VALUE_TYPE (a)) 506s # { 506s # case G_TYPE_BOOLEAN: 506s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 506s # break; 506s # case G_TYPE_UCHAR: 506s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 506s # break; 506s # case G_TYPE_INT: 506s # ret = (g_value_get_int (a) == g_value_get_int (b)); 506s # break; 506s # case G_TYPE_UINT: 506s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 506s # break; 506s # case G_TYPE_INT64: 506s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 506s # break; 506s # case G_TYPE_UINT64: 506s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 506s # break; 506s # case G_TYPE_DOUBLE: 506s # { 506s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 506s # gdouble da = g_value_get_double (a); 506s # gdouble db = g_value_get_double (b); 506s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 506s # } 506s # break; 506s # case G_TYPE_STRING: 506s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 506s # break; 506s # case G_TYPE_VARIANT: 506s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 506s # break; 506s # default: 506s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 506s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 506s # else 506s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 506s # break; 506s # } 506s # return ret; 506s # } 506s # 506s # /* ------------------------------------------------------------------------ 506s # * Code for interface GoodTypes 506s # * ------------------------------------------------------------------------ 506s # */ 506s # 506s # /** 506s # * SECTION:GoodTypes 506s # * @title: GoodTypes 506s # * @short_description: Generated C code for the GoodTypes D-Bus interface 506s # * 506s # * This section contains code for working with the GoodTypes D-Bus interface in C. 506s # */ 506s # 506s # /* ---- Introspection data for GoodTypes ---- */ 506s # 506s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 506s # { 506s # { 506s # -1, 506s # (gchar *) "GoodPropertyType", 506s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 506s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 506s # NULL 506s # }, 506s # "good-property-type", 506s # FALSE, 506s # TRUE 506s # }; 506s # 506s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 506s # { 506s # &_good_types_property_info_good_property_type.parent_struct, 506s # NULL 506s # }; 506s # 506s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 506s # { 506s # { 506s # -1, 506s # (gchar *) "GoodTypes", 506s # NULL, 506s # NULL, 506s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 506s # NULL 506s # }, 506s # "good-types", 506s # }; 506s # 506s # 506s # /** 506s # * good_types_interface_info: 506s # * 506s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 506s # * 506s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 506s # */ 506s # GDBusInterfaceInfo * 506s # good_types_interface_info (void) 506s # { 506s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 506s # } 506s # 506s # /** 506s # * good_types_override_properties: 506s # * @klass: The class structure for a #GObject derived class. 506s # * @property_id_begin: The property id to assign to the first overridden property. 506s # * 506s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 506s # * The properties are overridden in the order they are defined. 506s # * 506s # * Returns: The last property id. 506s # */ 506s # guint 506s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 506s # { 506s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 506s # return property_id_begin - 1; 506s # } 506s # 506s # 506s # 506s # /** 506s # * GoodTypes: 506s # * 506s # * Abstract interface type for the D-Bus interface GoodTypes. 506s # */ 506s # 506s # /** 506s # * GoodTypesIface: 506s # * @parent_iface: The parent interface. 506s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 506s # * 506s # * Virtual table for the D-Bus interface GoodTypes. 506s # */ 506s # 506s # typedef GoodTypesIface GoodTypesInterface; 506s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 506s # 506s # static void 506s # good_types_default_init (GoodTypesIface *iface) 506s # { 506s # /* GObject properties for D-Bus properties: */ 506s # /** 506s # * GoodTypes:good-property-type: 506s # * 506s # * Represents the D-Bus property "GoodPropertyType". 506s # * 506s # * 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. 506s # */ 506s # g_object_interface_install_property (iface, 506s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 506s # } 506s # 506s # /** 506s # * good_types_get_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * 506s # * Gets the value of the "GoodPropertyType" D-Bus property. 506s # * 506s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 506s # * 506s # * 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. 506s # * 506s # * 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. 506s # */ 506s # GVariant * 506s # good_types_get_good_property_type (GoodTypes *object) 506s # { 506s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 506s # 506s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 506s # } 506s # 506s # /** 506s # * good_types_dup_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * 506s # * Gets a copy of the "GoodPropertyType" D-Bus property. 506s # * 506s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 506s # * 506s # * 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(). 506s # */ 506s # GVariant * 506s # good_types_dup_good_property_type (GoodTypes *object) 506s # { 506s # GVariant *value; 506s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 506s # return value; 506s # } 506s # 506s # /** 506s # * good_types_set_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * @value: The value to set. 506s # * 506s # * Sets the "GoodPropertyType" D-Bus property to @value. 506s # * 506s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 506s # */ 506s # void 506s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 506s # { 506s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * GoodTypesProxy: 506s # * 506s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * GoodTypesProxyClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for GoodTypesProxy. 506s # */ 506s # 506s # struct _GoodTypesProxyPrivate 506s # { 506s # GData *qdata; 506s # }; 506s # 506s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 506s # G_ADD_PRIVATE (GoodTypesProxy) 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 506s # 506s # #endif 506s # static void 506s # good_types_proxy_finalize (GObject *object) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 506s # g_datalist_clear (&proxy->priv->qdata); 506s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # good_types_proxy_get_property (GObject *object, 506s # guint prop_id, 506s # GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GVariant *variant; 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 506s # if (info->use_gvariant) 506s # { 506s # g_value_set_variant (value, variant); 506s # } 506s # else 506s # { 506s # if (variant != NULL) 506s # g_dbus_gvariant_to_gvalue (variant, value); 506s # } 506s # if (variant != NULL) 506s # g_variant_unref (variant); 506s # } 506s # 506s # static void 506s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 506s # GAsyncResult *res, 506s # gpointer user_data) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info = user_data; 506s # GError *error; 506s # GVariant *_ret; 506s # error = NULL; 506s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 506s # if (!_ret) 506s # { 506s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 506s # info->parent_struct.name, 506s # error->message, g_quark_to_string (error->domain), error->code); 506s # g_error_free (error); 506s # } 506s # else 506s # { 506s # g_variant_unref (_ret); 506s # } 506s # } 506s # 506s # static void 506s # good_types_proxy_set_property (GObject *object, 506s # guint prop_id, 506s # const GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GVariant *variant; 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_dbus_proxy_call (G_DBUS_PROXY (object), 506s # "org.freedesktop.DBus.Properties.Set", 506s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 506s # g_variant_unref (variant); 506s # } 506s # 506s # static void 506s # good_types_proxy_g_signal (GDBusProxy *proxy, 506s # const gchar *sender_name G_GNUC_UNUSED, 506s # const gchar *signal_name, 506s # GVariant *parameters) 506s # { 506s # _ExtendedGDBusSignalInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # gsize n; 506s # guint signal_id; 506s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 506s # if (info == NULL) 506s # return; 506s # num_params = g_variant_n_children (parameters); 506s # paramv = g_new0 (GValue, num_params + 1); 506s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 506s # g_value_set_object (¶mv[0], proxy); 506s # g_variant_iter_init (&iter, parameters); 506s # n = 1; 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 506s # g_signal_emitv (paramv, signal_id, 0, NULL); 506s # for (n = 0; n < num_params + 1; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static void 506s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 506s # GVariant *changed_properties, 506s # const gchar *const *invalidated_properties) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 506s # guint n; 506s # const gchar *key; 506s # GVariantIter *iter; 506s # _ExtendedGDBusPropertyInfo *info; 506s # g_variant_get (changed_properties, "a{sv}", &iter); 506s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 506s # g_datalist_remove_data (&proxy->priv->qdata, key); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # g_variant_iter_free (iter); 506s # for (n = 0; invalidated_properties[n] != NULL; n++) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 506s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # } 506s # 506s # static GVariant * 506s # good_types_proxy_get_good_property_type (GoodTypes *object) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 506s # GVariant *variant; 506s # GVariant *value = NULL; 506s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 506s # value = variant; 506s # if (variant != NULL) 506s # g_variant_unref (variant); 506s # return value; 506s # } 506s # 506s # static void 506s # good_types_proxy_init (GoodTypesProxy *proxy) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # proxy->priv = good_types_proxy_get_instance_private (proxy); 506s # #else 506s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 506s # #endif 506s # 506s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 506s # } 506s # 506s # static void 506s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusProxyClass *proxy_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = good_types_proxy_finalize; 506s # gobject_class->get_property = good_types_proxy_get_property; 506s # gobject_class->set_property = good_types_proxy_set_property; 506s # 506s # proxy_class = G_DBUS_PROXY_CLASS (klass); 506s # proxy_class->g_signal = good_types_proxy_g_signal; 506s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 506s # 506s # good_types_override_properties (gobject_class, 1); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # good_types_proxy_iface_init (GoodTypesIface *iface) 506s # { 506s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 506s # * 506s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # good_types_proxy_new ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with good_types_proxy_new(). 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_sync: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See good_types_proxy_new() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_sync ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /** 506s # * good_types_proxy_new_for_bus: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 506s # * 506s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # good_types_proxy_new_for_bus ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_for_bus_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with good_types_proxy_new_for_bus(). 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_for_bus_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_for_bus_sync: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_for_bus_sync ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * GoodTypesSkeleton: 506s # * 506s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * GoodTypesSkeletonClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for GoodTypesSkeleton. 506s # */ 506s # 506s # struct _GoodTypesSkeletonPrivate 506s # { 506s # GValue *properties; 506s # GList *changed_properties; 506s # GSource *changed_properties_idle_source; 506s # GMainContext *context; 506s # GMutex lock; 506s # }; 506s # 506s # static void 506s # _good_types_skeleton_handle_method_call ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name, 506s # const gchar *method_name, 506s # GVariant *parameters, 506s # GDBusMethodInvocation *invocation, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # _ExtendedGDBusMethodInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # guint num_extra; 506s # gsize n; 506s # guint signal_id; 506s # GValue return_value = G_VALUE_INIT; 506s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 506s # g_assert (info != NULL); 506s # num_params = g_variant_n_children (parameters); 506s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 506s # n = 0; 506s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 506s # g_value_set_object (¶mv[n++], skeleton); 506s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 506s # g_value_set_object (¶mv[n++], invocation); 506s # if (info->pass_fdlist) 506s # { 506s # #ifdef G_OS_UNIX 506s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 506s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 506s # #else 506s # g_assert_not_reached (); 506s # #endif 506s # } 506s # g_variant_iter_init (&iter, parameters); 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 506s # g_value_init (&return_value, G_TYPE_BOOLEAN); 506s # g_signal_emitv (paramv, signal_id, 0, &return_value); 506s # if (!g_value_get_boolean (&return_value)) 506s # 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); 506s # g_value_unset (&return_value); 506s # for (n = 0; n < num_params + num_extra; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static GVariant * 506s # _good_types_skeleton_handle_get_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # GVariant *ret; 506s # ret = NULL; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # g_value_init (&value, pspec->value_type); 506s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_value_unset (&value); 506s # } 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _good_types_skeleton_handle_set_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GVariant *variant, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # gboolean ret; 506s # ret = FALSE; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # if (info->use_gvariant) 506s # g_value_set_variant (&value, variant); 506s # else 506s # g_dbus_gvariant_to_gvalue (variant, &value); 506s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # g_value_unset (&value); 506s # ret = TRUE; 506s # } 506s # return ret; 506s # } 506s # 506s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 506s # { 506s # _good_types_skeleton_handle_method_call, 506s # _good_types_skeleton_handle_get_property, 506s # _good_types_skeleton_handle_set_property, 506s # {NULL} 506s # }; 506s # 506s # static GDBusInterfaceInfo * 506s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return good_types_interface_info (); 506s # } 506s # 506s # static GDBusInterfaceVTable * 506s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 506s # } 506s # 506s # static GVariant * 506s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 506s # 506s # GVariantBuilder builder; 506s # guint n; 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # if (_good_types_interface_info.parent_struct.properties == NULL) 506s # goto out; 506s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 506s # { 506s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 506s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 506s # { 506s # GVariant *value; 506s # 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); 506s # if (value != NULL) 506s # { 506s # g_variant_take_ref (value); 506s # g_variant_builder_add (&builder, "{sv}", info->name, value); 506s # g_variant_unref (value); 506s # } 506s # } 506s # } 506s # out: 506s # return g_variant_builder_end (&builder); 506s # } 506s # 506s # static gboolean _good_types_emit_changed (gpointer user_data); 506s # 506s # static void 506s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 506s # gboolean emit_changed = FALSE; 506s # 506s # g_mutex_lock (&skeleton->priv->lock); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # { 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # skeleton->priv->changed_properties_idle_source = NULL; 506s # emit_changed = TRUE; 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # 506s # if (emit_changed) 506s # _good_types_emit_changed (skeleton); 506s # } 506s # 506s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_ADD_PRIVATE (GoodTypesSkeleton) 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 506s # 506s # #endif 506s # static void 506s # good_types_skeleton_finalize (GObject *object) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # guint n; 506s # for (n = 0; n < 1; n++) 506s # g_value_unset (&skeleton->priv->properties[n]); 506s # g_free (skeleton->priv->properties); 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # g_main_context_unref (skeleton->priv->context); 506s # g_mutex_clear (&skeleton->priv->lock); 506s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # good_types_skeleton_get_property (GObject *object, 506s # guint prop_id, 506s # GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # } 506s # 506s # static gboolean 506s # _good_types_emit_changed (gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GList *l; 506s # GVariantBuilder builder; 506s # GVariantBuilder invalidated_builder; 506s # guint num_changes; 506s # 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 506s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 506s # { 506s # ChangedProperty *cp = l->data; 506s # GVariant *variant; 506s # const GValue *cur_value; 506s # 506s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 506s # if (!_g_value_equal (cur_value, &cp->orig_value)) 506s # { 506s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 506s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 506s # g_variant_unref (variant); 506s # num_changes++; 506s # } 506s # } 506s # if (num_changes > 0) 506s # { 506s # GList *connections, *ll; 506s # GVariant *signal_variant; 506s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 506s # &builder, &invalidated_builder)); 506s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 506s # for (ll = connections; ll != NULL; ll = ll->next) 506s # { 506s # GDBusConnection *connection = ll->data; 506s # 506s # g_dbus_connection_emit_signal (connection, 506s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 506s # "org.freedesktop.DBus.Properties", 506s # "PropertiesChanged", 506s # signal_variant, 506s # NULL); 506s # } 506s # g_variant_unref (signal_variant); 506s # g_list_free_full (connections, g_object_unref); 506s # } 506s # else 506s # { 506s # g_variant_builder_clear (&builder); 506s # g_variant_builder_clear (&invalidated_builder); 506s # } 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # skeleton->priv->changed_properties = NULL; 506s # skeleton->priv->changed_properties_idle_source = NULL; 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # return FALSE; 506s # } 506s # 506s # static void 506s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 506s # { 506s # ChangedProperty *cp; 506s # GList *l; 506s # cp = NULL; 506s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 506s # { 506s # ChangedProperty *i_cp = l->data; 506s # if (i_cp->info == info) 506s # { 506s # cp = i_cp; 506s # break; 506s # } 506s # } 506s # if (cp == NULL) 506s # { 506s # cp = g_new0 (ChangedProperty, 1); 506s # cp->prop_id = prop_id; 506s # cp->info = info; 506s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 506s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 506s # g_value_copy (orig_value, &cp->orig_value); 506s # } 506s # } 506s # 506s # static void 506s # good_types_skeleton_notify (GObject *object, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_mutex_lock (&skeleton->priv->lock); 506s # if (skeleton->priv->changed_properties != NULL && 506s # skeleton->priv->changed_properties_idle_source == NULL) 506s # { 506s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 506s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 506s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 506s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 506s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 506s # g_source_unref (skeleton->priv->changed_properties_idle_source); 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # } 506s # 506s # static void 506s # good_types_skeleton_set_property (GObject *object, 506s # guint prop_id, 506s # const GValue *value, 506s # GParamSpec *pspec) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_object_freeze_notify (object); 506s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 506s # { 506s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 506s # info->emits_changed_signal) 506s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 506s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 506s # g_object_notify_by_pspec (object, pspec); 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # g_object_thaw_notify (object); 506s # } 506s # 506s # static void 506s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 506s # #else 506s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 506s # #endif 506s # 506s # g_mutex_init (&skeleton->priv->lock); 506s # skeleton->priv->context = g_main_context_ref_thread_default (); 506s # skeleton->priv->properties = g_new0 (GValue, 1); 506s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 506s # } 506s # 506s # static GVariant * 506s # good_types_skeleton_get_good_property_type (GoodTypes *object) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # GVariant *value; 506s # g_mutex_lock (&skeleton->priv->lock); 506s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # return value; 506s # } 506s # 506s # static void 506s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusInterfaceSkeletonClass *skeleton_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = good_types_skeleton_finalize; 506s # gobject_class->get_property = good_types_skeleton_get_property; 506s # gobject_class->set_property = good_types_skeleton_set_property; 506s # gobject_class->notify = good_types_skeleton_notify; 506s # 506s # 506s # good_types_override_properties (gobject_class, 1); 506s # 506s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 506s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 506s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 506s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 506s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # good_types_skeleton_iface_init (GoodTypesIface *iface) 506s # { 506s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 506s # } 506s # 506s # /** 506s # * good_types_skeleton_new: 506s # * 506s # * Creates a skeleton object for the D-Bus interface GoodTypes. 506s # * 506s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 506s # */ 506s # GoodTypes * 506s # good_types_skeleton_new (void) 506s # { 506s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 506s # } 506s # /tmp/tmpeiuk_777/tmp9wkznest.xml: 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeiuk_777/tmp9wkznest.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifdef HAVE_CONFIG_H 506s # # include "config.h" 506s # #endif 506s # 506s # #include 506s # #ifdef G_OS_UNIX 506s # # include 506s # #endif 506s # 506s # #ifdef G_ENABLE_DEBUG 506s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 506s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 506s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 506s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 506s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 506s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 506s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 506s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 506s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 506s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 506s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 506s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 506s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 506s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 506s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 506s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 506s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 506s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 506s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 506s # #else /* !G_ENABLE_DEBUG */ 506s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 506s # * Do not access GValues directly in your code. Instead, use the 506s # * g_value_get_*() functions 506s # */ 506s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 506s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 506s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 506s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 506s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 506s # #endif /* !G_ENABLE_DEBUG */ 506s # 506s # typedef struct 506s # { 506s # GDBusArgInfo parent_struct; 506s # gboolean use_gvariant; 506s # } _ExtendedGDBusArgInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusMethodInfo parent_struct; 506s # const gchar *signal_name; 506s # gboolean pass_fdlist; 506s # } _ExtendedGDBusMethodInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusSignalInfo parent_struct; 506s # const gchar *signal_name; 506s # } _ExtendedGDBusSignalInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusPropertyInfo parent_struct; 506s # const gchar *hyphen_name; 506s # guint use_gvariant : 1; 506s # guint emits_changed_signal : 1; 506s # } _ExtendedGDBusPropertyInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusInterfaceInfo parent_struct; 506s # const gchar *hyphen_name; 506s # } _ExtendedGDBusInterfaceInfo; 506s # 506s # typedef struct 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # guint prop_id; 506s # GValue orig_value; /* the value before the change */ 506s # } ChangedProperty; 506s # 506s # static void 506s # _changed_property_free (ChangedProperty *data) 506s # { 506s # g_value_unset (&data->orig_value); 506s # g_free (data); 506s # } 506s # 506s # static gboolean 506s # _g_strv_equal0 (gchar **a, gchar **b) 506s # { 506s # gboolean ret = FALSE; 506s # guint n; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # if (g_strv_length (a) != g_strv_length (b)) 506s # goto out; 506s # for (n = 0; a[n] != NULL; n++) 506s # if (g_strcmp0 (a[n], b[n]) != 0) 506s # goto out; 506s # ret = TRUE; 506s # out: 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _g_variant_equal0 (GVariant *a, GVariant *b) 506s # { 506s # gboolean ret = FALSE; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # ret = g_variant_equal (a, b); 506s # out: 506s # return ret; 506s # } 506s # 506s # G_GNUC_UNUSED static gboolean 506s # _g_value_equal (const GValue *a, const GValue *b) 506s # { 506s # gboolean ret = FALSE; 506s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 506s # switch (G_VALUE_TYPE (a)) 506s # { 506s # case G_TYPE_BOOLEAN: 506s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 506s # break; 506s # case G_TYPE_UCHAR: 506s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 506s # break; 506s # case G_TYPE_INT: 506s # ret = (g_value_get_int (a) == g_value_get_int (b)); 506s # break; 506s # case G_TYPE_UINT: 506s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 506s # break; 506s # case G_TYPE_INT64: 506s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 506s # break; 506s # case G_TYPE_UINT64: 506s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 506s # break; 506s # case G_TYPE_DOUBLE: 506s # { 506s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 506s # gdouble da = g_value_get_double (a); 506s # gdouble db = g_value_get_double (b); 506s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 506s # } 506s # break; 506s # case G_TYPE_STRING: 506s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 506s # break; 506s # case G_TYPE_VARIANT: 506s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 506s # break; 506s # default: 506s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 506s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 506s # else 506s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 506s # break; 506s # } 506s # return ret; 506s # } 506s # 506s # /* ------------------------------------------------------------------------ 506s # * Code for interface GoodTypes 506s # * ------------------------------------------------------------------------ 506s # */ 506s # 506s # /** 506s # * SECTION:GoodTypes 506s # * @title: GoodTypes 506s # * @short_description: Generated C code for the GoodTypes D-Bus interface 506s # * 506s # * This section contains code for working with the GoodTypes D-Bus interface in C. 506s # */ 506s # 506s # /* ---- Introspection data for GoodTypes ---- */ 506s # 506s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 506s # { 506s # { 506s # -1, 506s # (gchar *) "GoodPropertyType", 506s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 506s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 506s # NULL 506s # }, 506s # "good-property-type", 506s # FALSE, 506s # TRUE 506s # }; 506s # 506s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 506s # { 506s # &_good_types_property_info_good_property_type.parent_struct, 506s # NULL 506s # }; 506s # 506s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 506s # { 506s # { 506s # -1, 506s # (gchar *) "GoodTypes", 506s # NULL, 506s # NULL, 506s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 506s # NULL 506s # }, 506s # "good-types", 506s # }; 506s # 506s # 506s # /** 506s # * good_types_interface_info: 506s # * 506s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 506s # * 506s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 506s # */ 506s # GDBusInterfaceInfo * 506s # good_types_interface_info (void) 506s # { 506s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 506s # } 506s # 506s # /** 506s # * good_types_override_properties: 506s # * @klass: The class structure for a #GObject derived class. 506s # * @property_id_begin: The property id to assign to the first overridden property. 506s # * 506s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 506s # * The properties are overridden in the order they are defined. 506s # * 506s # * Returns: The last property id. 506s # */ 506s # guint 506s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 506s # { 506s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 506s # return property_id_begin - 1; 506s # } 506s # 506s # 506s # 506s # /** 506s # * GoodTypes: 506s # * 506s # * Abstract interface type for the D-Bus interface GoodTypes. 506s # */ 506s # 506s # /** 506s # * GoodTypesIface: 506s # * @parent_iface: The parent interface. 506s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 506s # * 506s # * Virtual table for the D-Bus interface GoodTypes. 506s # */ 506s # 506s # typedef GoodTypesIface GoodTypesInterface; 506s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 506s # 506s # static void 506s # good_types_default_init (GoodTypesIface *iface) 506s # { 506s # /* GObject properties for D-Bus properties: */ 506s # /** 506s # * GoodTypes:good-property-type: 506s # * 506s # * Represents the D-Bus property "GoodPropertyType". 506s # * 506s # * 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. 506s # */ 506s # g_object_interface_install_property (iface, 506s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 506s # } 506s # 506s # /** 506s # * good_types_get_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * 506s # * Gets the value of the "GoodPropertyType" D-Bus property. 506s # * 506s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 506s # * 506s # * 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. 506s # * 506s # * 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. 506s # */ 506s # GVariant * 506s # good_types_get_good_property_type (GoodTypes *object) 506s # { 506s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 506s # 506s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 506s # } 506s # 506s # /** 506s # * good_types_dup_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * 506s # * Gets a copy of the "GoodPropertyType" D-Bus property. 506s # * 506s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 506s # * 506s # * 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(). 506s # */ 506s # GVariant * 506s # good_types_dup_good_property_type (GoodTypes *object) 506s # { 506s # GVariant *value; 506s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 506s # return value; 506s # } 506s # 506s # /** 506s # * good_types_set_good_property_type: (skip) 506s # * @object: A GoodTypes. 506s # * @value: The value to set. 506s # * 506s # * Sets the "GoodPropertyType" D-Bus property to @value. 506s # * 506s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 506s # */ 506s # void 506s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 506s # { 506s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * GoodTypesProxy: 506s # * 506s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * GoodTypesProxyClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for GoodTypesProxy. 506s # */ 506s # 506s # struct _GoodTypesProxyPrivate 506s # { 506s # GData *qdata; 506s # }; 506s # 506s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 506s # G_ADD_PRIVATE (GoodTypesProxy) 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 506s # 506s # #endif 506s # static void 506s # good_types_proxy_finalize (GObject *object) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 506s # g_datalist_clear (&proxy->priv->qdata); 506s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # good_types_proxy_get_property (GObject *object, 506s # guint prop_id, 506s # GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GVariant *variant; 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 506s # if (info->use_gvariant) 506s # { 506s # g_value_set_variant (value, variant); 506s # } 506s # else 506s # { 506s # if (variant != NULL) 506s # g_dbus_gvariant_to_gvalue (variant, value); 506s # } 506s # if (variant != NULL) 506s # g_variant_unref (variant); 506s # } 506s # 506s # static void 506s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 506s # GAsyncResult *res, 506s # gpointer user_data) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info = user_data; 506s # GError *error; 506s # GVariant *_ret; 506s # error = NULL; 506s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 506s # if (!_ret) 506s # { 506s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 506s # info->parent_struct.name, 506s # error->message, g_quark_to_string (error->domain), error->code); 506s # g_error_free (error); 506s # } 506s # else 506s # { 506s # g_variant_unref (_ret); 506s # } 506s # } 506s # 506s # static void 506s # good_types_proxy_set_property (GObject *object, 506s # guint prop_id, 506s # const GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GVariant *variant; 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_dbus_proxy_call (G_DBUS_PROXY (object), 506s # "org.freedesktop.DBus.Properties.Set", 506s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 506s # g_variant_unref (variant); 506s # } 506s # 506s # static void 506s # good_types_proxy_g_signal (GDBusProxy *proxy, 506s # const gchar *sender_name G_GNUC_UNUSED, 506s # const gchar *signal_name, 506s # GVariant *parameters) 506s # { 506s # _ExtendedGDBusSignalInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # gsize n; 506s # guint signal_id; 506s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 506s # if (info == NULL) 506s # return; 506s # num_params = g_variant_n_children (parameters); 506s # paramv = g_new0 (GValue, num_params + 1); 506s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 506s # g_value_set_object (¶mv[0], proxy); 506s # g_variant_iter_init (&iter, parameters); 506s # n = 1; 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 506s # g_signal_emitv (paramv, signal_id, 0, NULL); 506s # for (n = 0; n < num_params + 1; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static void 506s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 506s # GVariant *changed_properties, 506s # const gchar *const *invalidated_properties) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 506s # guint n; 506s # const gchar *key; 506s # GVariantIter *iter; 506s # _ExtendedGDBusPropertyInfo *info; 506s # g_variant_get (changed_properties, "a{sv}", &iter); 506s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 506s # g_datalist_remove_data (&proxy->priv->qdata, key); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # g_variant_iter_free (iter); 506s # for (n = 0; invalidated_properties[n] != NULL; n++) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 506s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # } 506s # 506s # static GVariant * 506s # good_types_proxy_get_good_property_type (GoodTypes *object) 506s # { 506s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 506s # GVariant *variant; 506s # GVariant *value = NULL; 506s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 506s # value = variant; 506s # if (variant != NULL) 506s # g_variant_unref (variant); 506s # return value; 506s # } 506s # 506s # static void 506s # good_types_proxy_init (GoodTypesProxy *proxy) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # proxy->priv = good_types_proxy_get_instance_private (proxy); 506s # #else 506s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 506s # #endif 506s # 506s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 506s # } 506s # 506s # static void 506s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusProxyClass *proxy_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = good_types_proxy_finalize; 506s # gobject_class->get_property = good_types_proxy_get_property; 506s # gobject_class->set_property = good_types_proxy_set_property; 506s # 506s # proxy_class = G_DBUS_PROXY_CLASS (klass); 506s # proxy_class->g_signal = good_types_proxy_g_signal; 506s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 506s # 506s # good_types_override_properties (gobject_class, 1); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # good_types_proxy_iface_init (GoodTypesIface *iface) 506s # { 506s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 506s # * 506s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # good_types_proxy_new ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with good_types_proxy_new(). 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_sync: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See good_types_proxy_new() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_sync ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /** 506s # * good_types_proxy_new_for_bus: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 506s # * 506s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # good_types_proxy_new_for_bus ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_for_bus_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with good_types_proxy_new_for_bus(). 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_for_bus_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * good_types_proxy_new_for_bus_sync: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # GoodTypes * 506s # good_types_proxy_new_for_bus_sync ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return GOOD_TYPES (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * GoodTypesSkeleton: 506s # * 506s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * GoodTypesSkeletonClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for GoodTypesSkeleton. 506s # */ 506s # 506s # struct _GoodTypesSkeletonPrivate 506s # { 506s # GValue *properties; 506s # GList *changed_properties; 506s # GSource *changed_properties_idle_source; 506s # GMainContext *context; 506s # GMutex lock; 506s # }; 506s # 506s # static void 506s # _good_types_skeleton_handle_method_call ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name, 506s # const gchar *method_name, 506s # GVariant *parameters, 506s # GDBusMethodInvocation *invocation, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # _ExtendedGDBusMethodInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # guint num_extra; 506s # gsize n; 506s # guint signal_id; 506s # GValue return_value = G_VALUE_INIT; 506s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 506s # g_assert (info != NULL); 506s # num_params = g_variant_n_children (parameters); 506s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 506s # n = 0; 506s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 506s # g_value_set_object (¶mv[n++], skeleton); 506s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 506s # g_value_set_object (¶mv[n++], invocation); 506s # if (info->pass_fdlist) 506s # { 506s # #ifdef G_OS_UNIX 506s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 506s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 506s # #else 506s # g_assert_not_reached (); 506s # #endif 506s # } 506s # g_variant_iter_init (&iter, parameters); 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 506s # g_value_init (&return_value, G_TYPE_BOOLEAN); 506s # g_signal_emitv (paramv, signal_id, 0, &return_value); 506s # if (!g_value_get_boolean (&return_value)) 506s # 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); 506s # g_value_unset (&return_value); 506s # for (n = 0; n < num_params + num_extra; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static GVariant * 506s # _good_types_skeleton_handle_get_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # GVariant *ret; 506s # ret = NULL; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # g_value_init (&value, pspec->value_type); 506s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_value_unset (&value); 506s # } 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _good_types_skeleton_handle_set_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GVariant *variant, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # gboolean ret; 506s # ret = FALSE; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # if (info->use_gvariant) 506s # g_value_set_variant (&value, variant); 506s # else 506s # g_dbus_gvariant_to_gvalue (variant, &value); 506s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # g_value_unset (&value); 506s # ret = TRUE; 506s # } 506s # return ret; 506s # } 506s # 506s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 506s # { 506s # _good_types_skeleton_handle_method_call, 506s # _good_types_skeleton_handle_get_property, 506s # _good_types_skeleton_handle_set_property, 506s # {NULL} 506s # }; 506s # 506s # static GDBusInterfaceInfo * 506s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return good_types_interface_info (); 506s # } 506s # 506s # static GDBusInterfaceVTable * 506s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 506s # } 506s # 506s # static GVariant * 506s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 506s # 506s # GVariantBuilder builder; 506s # guint n; 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # if (_good_types_interface_info.parent_struct.properties == NULL) 506s # goto out; 506s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 506s # { 506s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 506s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 506s # { 506s # GVariant *value; 506s # 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); 506s # if (value != NULL) 506s # { 506s # g_variant_take_ref (value); 506s # g_variant_builder_add (&builder, "{sv}", info->name, value); 506s # g_variant_unref (value); 506s # } 506s # } 506s # } 506s # out: 506s # return g_variant_builder_end (&builder); 506s # } 506s # 506s # static gboolean _good_types_emit_changed (gpointer user_data); 506s # 506s # static void 506s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 506s # gboolean emit_changed = FALSE; 506s # 506s # g_mutex_lock (&skeleton->priv->lock); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # { 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # skeleton->priv->changed_properties_idle_source = NULL; 506s # emit_changed = TRUE; 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # 506s # if (emit_changed) 506s # _good_types_emit_changed (skeleton); 506s # } 506s # 506s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_ADD_PRIVATE (GoodTypesSkeleton) 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 506s # 506s # #endif 506s # static void 506s # good_types_skeleton_finalize (GObject *object) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # guint n; 506s # for (n = 0; n < 1; n++) 506s # g_value_unset (&skeleton->priv->properties[n]); 506s # g_free (skeleton->priv->properties); 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # g_main_context_unref (skeleton->priv->context); 506s # g_mutex_clear (&skeleton->priv->lock); 506s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # good_types_skeleton_get_property (GObject *object, 506s # guint prop_id, 506s # GValue *value, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # } 506s # 506s # static gboolean 506s # _good_types_emit_changed (gpointer user_data) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 506s # GList *l; 506s # GVariantBuilder builder; 506s # GVariantBuilder invalidated_builder; 506s # guint num_changes; 506s # 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 506s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 506s # { 506s # ChangedProperty *cp = l->data; 506s # GVariant *variant; 506s # const GValue *cur_value; 506s # 506s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 506s # if (!_g_value_equal (cur_value, &cp->orig_value)) 506s # { 506s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 506s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 506s # g_variant_unref (variant); 506s # num_changes++; 506s # } 506s # } 506s # if (num_changes > 0) 506s # { 506s # GList *connections, *ll; 506s # GVariant *signal_variant; 506s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 506s # &builder, &invalidated_builder)); 506s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 506s # for (ll = connections; ll != NULL; ll = ll->next) 506s # { 506s # GDBusConnection *connection = ll->data; 506s # 506s # g_dbus_connection_emit_signal (connection, 506s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 506s # "org.freedesktop.DBus.Properties", 506s # "PropertiesChanged", 506s # signal_variant, 506s # NULL); 506s # } 506s # g_variant_unref (signal_variant); 506s # g_list_free_full (connections, g_object_unref); 506s # } 506s # else 506s # { 506s # g_variant_builder_clear (&builder); 506s # g_variant_builder_clear (&invalidated_builder); 506s # } 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # skeleton->priv->changed_properties = NULL; 506s # skeleton->priv->changed_properties_idle_source = NULL; 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # return FALSE; 506s # } 506s # 506s # static void 506s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 506s # { 506s # ChangedProperty *cp; 506s # GList *l; 506s # cp = NULL; 506s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 506s # { 506s # ChangedProperty *i_cp = l->data; 506s # if (i_cp->info == info) 506s # { 506s # cp = i_cp; 506s # break; 506s # } 506s # } 506s # if (cp == NULL) 506s # { 506s # cp = g_new0 (ChangedProperty, 1); 506s # cp->prop_id = prop_id; 506s # cp->info = info; 506s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 506s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 506s # g_value_copy (orig_value, &cp->orig_value); 506s # } 506s # } 506s # 506s # static void 506s # good_types_skeleton_notify (GObject *object, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_mutex_lock (&skeleton->priv->lock); 506s # if (skeleton->priv->changed_properties != NULL && 506s # skeleton->priv->changed_properties_idle_source == NULL) 506s # { 506s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 506s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 506s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 506s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 506s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 506s # g_source_unref (skeleton->priv->changed_properties_idle_source); 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # } 506s # 506s # static void 506s # good_types_skeleton_set_property (GObject *object, 506s # guint prop_id, 506s # const GValue *value, 506s # GParamSpec *pspec) 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # g_assert (prop_id != 0 && prop_id - 1 < 1); 506s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 506s # g_mutex_lock (&skeleton->priv->lock); 506s # g_object_freeze_notify (object); 506s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 506s # { 506s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 506s # info->emits_changed_signal) 506s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 506s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 506s # g_object_notify_by_pspec (object, pspec); 506s # } 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # g_object_thaw_notify (object); 506s # } 506s # 506s # static void 506s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 506s # #else 506s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 506s # #endif 506s # 506s # g_mutex_init (&skeleton->priv->lock); 506s # skeleton->priv->context = g_main_context_ref_thread_default (); 506s # skeleton->priv->properties = g_new0 (GValue, 1); 506s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 506s # } 506s # 506s # static GVariant * 506s # good_types_skeleton_get_good_property_type (GoodTypes *object) 506s # { 506s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 506s # GVariant *value; 506s # g_mutex_lock (&skeleton->priv->lock); 506s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 506s # g_mutex_unlock (&skeleton->priv->lock); 506s # return value; 506s # } 506s # 506s # static void 506s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusInterfaceSkeletonClass *skeleton_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = good_types_skeleton_finalize; 506s # gobject_class->get_property = good_types_skeleton_get_property; 506s # gobject_class->set_property = good_types_skeleton_set_property; 506s # gobject_class->notify = good_types_skeleton_notify; 506s # 506s # 506s # good_types_override_properties (gobject_class, 1); 506s # 506s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 506s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 506s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 506s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 506s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # good_types_skeleton_iface_init (GoodTypesIface *iface) 506s # { 506s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 506s # } 506s # 506s # /** 506s # * good_types_skeleton_new: 506s # * 506s # * Creates a skeleton object for the D-Bus interface GoodTypes. 506s # * 506s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 506s # */ 506s # GoodTypes * 506s # good_types_skeleton_new (void) 506s # { 506s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 506s # } 506s ok 3 __main__.TestCodegen.test_empty_interface_body 506s # tmpdir: /tmp/tmpt_1aqroo 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmpt_1aqroo/tmp_syy0rlr.xml: 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_1aqroo/tmp_syy0rlr.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifdef HAVE_CONFIG_H 506s # # include "config.h" 506s # #endif 506s # 506s # #include 506s # #ifdef G_OS_UNIX 506s # # include 506s # #endif 506s # 506s # #ifdef G_ENABLE_DEBUG 506s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 506s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 506s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 506s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 506s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 506s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 506s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 506s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 506s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 506s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 506s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 506s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 506s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 506s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 506s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 506s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 506s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 506s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 506s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 506s # #else /* !G_ENABLE_DEBUG */ 506s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 506s # * Do not access GValues directly in your code. Instead, use the 506s # * g_value_get_*() functions 506s # */ 506s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 506s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 506s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 506s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 506s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 506s # #endif /* !G_ENABLE_DEBUG */ 506s # 506s # typedef struct 506s # { 506s # GDBusArgInfo parent_struct; 506s # gboolean use_gvariant; 506s # } _ExtendedGDBusArgInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusMethodInfo parent_struct; 506s # const gchar *signal_name; 506s # gboolean pass_fdlist; 506s # } _ExtendedGDBusMethodInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusSignalInfo parent_struct; 506s # const gchar *signal_name; 506s # } _ExtendedGDBusSignalInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusPropertyInfo parent_struct; 506s # const gchar *hyphen_name; 506s # guint use_gvariant : 1; 506s # guint emits_changed_signal : 1; 506s # } _ExtendedGDBusPropertyInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusInterfaceInfo parent_struct; 506s # const gchar *hyphen_name; 506s # } _ExtendedGDBusInterfaceInfo; 506s # 506s # typedef struct 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # guint prop_id; 506s # GValue orig_value; /* the value before the change */ 506s # } ChangedProperty; 506s # 506s # static void 506s # _changed_property_free (ChangedProperty *data) 506s # { 506s # g_value_unset (&data->orig_value); 506s # g_free (data); 506s # } 506s # 506s # static gboolean 506s # _g_strv_equal0 (gchar **a, gchar **b) 506s # { 506s # gboolean ret = FALSE; 506s # guint n; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # if (g_strv_length (a) != g_strv_length (b)) 506s # goto out; 506s # for (n = 0; a[n] != NULL; n++) 506s # if (g_strcmp0 (a[n], b[n]) != 0) 506s # goto out; 506s # ret = TRUE; 506s # out: 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _g_variant_equal0 (GVariant *a, GVariant *b) 506s # { 506s # gboolean ret = FALSE; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # ret = g_variant_equal (a, b); 506s # out: 506s # return ret; 506s # } 506s # 506s # G_GNUC_UNUSED static gboolean 506s # _g_value_equal (const GValue *a, const GValue *b) 506s # { 506s # gboolean ret = FALSE; 506s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 506s # switch (G_VALUE_TYPE (a)) 506s # { 506s # case G_TYPE_BOOLEAN: 506s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 506s # break; 506s # case G_TYPE_UCHAR: 506s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 506s # break; 506s # case G_TYPE_INT: 506s # ret = (g_value_get_int (a) == g_value_get_int (b)); 506s # break; 506s # case G_TYPE_UINT: 506s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 506s # break; 506s # case G_TYPE_INT64: 506s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 506s # break; 506s # case G_TYPE_UINT64: 506s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 506s # break; 506s # case G_TYPE_DOUBLE: 506s # { 506s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 506s # gdouble da = g_value_get_double (a); 506s # gdouble db = g_value_get_double (b); 506s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 506s # } 506s # break; 506s # case G_TYPE_STRING: 506s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 506s # break; 506s # case G_TYPE_VARIANT: 506s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 506s # break; 506s # default: 506s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 506s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 506s # else 506s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 506s # break; 506s # } 506s # return ret; 506s # } 506s ok 4 __main__.TestCodegen.test_empty_interface_header 506s # tmpdir: /tmp/tmp4w91pjz3 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmp4w91pjz3/tmpqr87mops.xml: 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4w91pjz3/tmpqr87mops.xml', '--output', '-', '--header'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifndef __STDOUT__ 506s # #define __STDOUT__ 506s # 506s # #include 506s # 506s # G_BEGIN_DECLS 506s # 506s # 506s # G_END_DECLS 506s # 506s # #endif /* __STDOUT__ */ 506s ok 5 __main__.TestCodegen.test_empty_interface_info_body 506s # tmpdir: /tmp/tmpw4qdvram 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmpw4qdvram/tmpmwvmhccw.xml: 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw4qdvram/tmpmwvmhccw.xml', '--output', '-', '--interface-info-body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifdef HAVE_CONFIG_H 506s # # include "config.h" 506s # #endif 506s # 506s # #include 506s ok 6 __main__.TestCodegen.test_empty_interface_info_header 506s # tmpdir: /tmp/tmp5ciuraxv 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmp5ciuraxv/tmpj7jj8nej.xml: 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5ciuraxv/tmpj7jj8nej.xml', '--output', '-', '--interface-info-header'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifndef __STDOUT__ 506s # #define __STDOUT__ 506s # 506s # #include 506s # 506s # G_BEGIN_DECLS 506s # 506s # 506s # G_END_DECLS 506s # 506s # #endif /* __STDOUT__ */ 506s ok 7 __main__.TestCodegen.test_generate_docbook 506s # tmpdir: /tmp/tmppcxd0v97 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmppcxd0v97/tmpe475ppts.xml: 506s # 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppcxd0v97/tmpe475ppts.xml', '--generate-docbook', 'test'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: 506s ok 8 __main__.TestCodegen.test_generate_md 506s # tmpdir: /tmp/tmpy2gvqcd2 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmpy2gvqcd2/tmpn2p9mwn1.xml: 506s # 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy2gvqcd2/tmpn2p9mwn1.xml', '--generate-md', 'test'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: 506s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 506s # tmpdir: /tmp/tmpabs37mi7 506s # codegen: /usr/bin/gdbus-codegen 506s # /tmp/tmpabs37mi7/tmpswffp12n.xml: 506s # 506s # 506s # 506s # 506s # 506s # 506s # 506s # 506s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpabs37mi7/tmpswffp12n.xml', '--output', '-', '--body'] 506s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 506s # Output: /* 506s # * This file is generated by gdbus-codegen, do not modify it. 506s # * 506s # * The license of this code is the same as for the D-Bus interface description 506s # * it was derived from. Note that it links to GLib, so must comply with the 506s # * LGPL linking clauses. 506s # */ 506s # 506s # #ifdef HAVE_CONFIG_H 506s # # include "config.h" 506s # #endif 506s # 506s # #include 506s # #ifdef G_OS_UNIX 506s # # include 506s # #endif 506s # 506s # #ifdef G_ENABLE_DEBUG 506s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 506s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 506s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 506s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 506s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 506s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 506s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 506s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 506s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 506s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 506s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 506s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 506s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 506s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 506s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 506s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 506s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 506s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 506s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 506s # #else /* !G_ENABLE_DEBUG */ 506s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 506s # * Do not access GValues directly in your code. Instead, use the 506s # * g_value_get_*() functions 506s # */ 506s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 506s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 506s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 506s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 506s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 506s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 506s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 506s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 506s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 506s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 506s # #endif /* !G_ENABLE_DEBUG */ 506s # 506s # typedef struct 506s # { 506s # GDBusArgInfo parent_struct; 506s # gboolean use_gvariant; 506s # } _ExtendedGDBusArgInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusMethodInfo parent_struct; 506s # const gchar *signal_name; 506s # gboolean pass_fdlist; 506s # } _ExtendedGDBusMethodInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusSignalInfo parent_struct; 506s # const gchar *signal_name; 506s # } _ExtendedGDBusSignalInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusPropertyInfo parent_struct; 506s # const gchar *hyphen_name; 506s # guint use_gvariant : 1; 506s # guint emits_changed_signal : 1; 506s # } _ExtendedGDBusPropertyInfo; 506s # 506s # typedef struct 506s # { 506s # GDBusInterfaceInfo parent_struct; 506s # const gchar *hyphen_name; 506s # } _ExtendedGDBusInterfaceInfo; 506s # 506s # typedef struct 506s # { 506s # const _ExtendedGDBusPropertyInfo *info; 506s # guint prop_id; 506s # GValue orig_value; /* the value before the change */ 506s # } ChangedProperty; 506s # 506s # static void 506s # _changed_property_free (ChangedProperty *data) 506s # { 506s # g_value_unset (&data->orig_value); 506s # g_free (data); 506s # } 506s # 506s # static gboolean 506s # _g_strv_equal0 (gchar **a, gchar **b) 506s # { 506s # gboolean ret = FALSE; 506s # guint n; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # if (g_strv_length (a) != g_strv_length (b)) 506s # goto out; 506s # for (n = 0; a[n] != NULL; n++) 506s # if (g_strcmp0 (a[n], b[n]) != 0) 506s # goto out; 506s # ret = TRUE; 506s # out: 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _g_variant_equal0 (GVariant *a, GVariant *b) 506s # { 506s # gboolean ret = FALSE; 506s # if (a == NULL && b == NULL) 506s # { 506s # ret = TRUE; 506s # goto out; 506s # } 506s # if (a == NULL || b == NULL) 506s # goto out; 506s # ret = g_variant_equal (a, b); 506s # out: 506s # return ret; 506s # } 506s # 506s # G_GNUC_UNUSED static gboolean 506s # _g_value_equal (const GValue *a, const GValue *b) 506s # { 506s # gboolean ret = FALSE; 506s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 506s # switch (G_VALUE_TYPE (a)) 506s # { 506s # case G_TYPE_BOOLEAN: 506s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 506s # break; 506s # case G_TYPE_UCHAR: 506s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 506s # break; 506s # case G_TYPE_INT: 506s # ret = (g_value_get_int (a) == g_value_get_int (b)); 506s # break; 506s # case G_TYPE_UINT: 506s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 506s # break; 506s # case G_TYPE_INT64: 506s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 506s # break; 506s # case G_TYPE_UINT64: 506s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 506s # break; 506s # case G_TYPE_DOUBLE: 506s # { 506s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 506s # gdouble da = g_value_get_double (a); 506s # gdouble db = g_value_get_double (b); 506s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 506s # } 506s # break; 506s # case G_TYPE_STRING: 506s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 506s # break; 506s # case G_TYPE_VARIANT: 506s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 506s # break; 506s # default: 506s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 506s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 506s # else 506s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 506s # break; 506s # } 506s # return ret; 506s # } 506s # 506s # static void 506s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 506s # GClosure *closure, 506s # GValue *return_value, 506s # unsigned int n_param_values, 506s # const GValue *param_values, 506s # void *invocation_hint G_GNUC_UNUSED, 506s # void *marshal_data) 506s # { 506s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 506s # (void *data1, 506s # GDBusMethodInvocation *arg_method_invocation, 506s # void *data2); 506s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 506s # GCClosure *cc = (GCClosure*) closure; 506s # void *data1, *data2; 506s # gboolean v_return; 506s # 506s # g_return_if_fail (return_value != NULL); 506s # g_return_if_fail (n_param_values == 2); 506s # 506s # if (G_CCLOSURE_SWAP_DATA (closure)) 506s # { 506s # data1 = closure->data; 506s # data2 = g_value_peek_pointer (param_values + 0); 506s # } 506s # else 506s # { 506s # data1 = g_value_peek_pointer (param_values + 0); 506s # data2 = closure->data; 506s # } 506s # 506s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 506s # (marshal_data ? marshal_data : cc->callback); 506s # 506s # v_return = 506s # callback (data1, 506s # g_marshal_value_peek_object (param_values + 1), 506s # data2); 506s # 506s # g_value_set_boolean (return_value, v_return); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ 506s # * Code for interface org.project.CallableIface 506s # * ------------------------------------------------------------------------ 506s # */ 506s # 506s # /** 506s # * SECTION:OrgProjectCallableIface 506s # * @title: OrgProjectCallableIface 506s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 506s # * 506s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 506s # */ 506s # 506s # /* ---- Introspection data for org.project.CallableIface ---- */ 506s # 506s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 506s # { 506s # { 506s # -1, 506s # (gchar *) "SimpleMethod", 506s # NULL, 506s # NULL, 506s # NULL 506s # }, 506s # "handle-simple-method", 506s # FALSE 506s # }; 506s # 506s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 506s # { 506s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 506s # NULL 506s # }; 506s # 506s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 506s # { 506s # { 506s # -1, 506s # (gchar *) "org.project.CallableIface", 506s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 506s # NULL, 506s # NULL, 506s # NULL 506s # }, 506s # "org-project-callable-iface", 506s # }; 506s # 506s # 506s # /** 506s # * org_project_callable_iface_interface_info: 506s # * 506s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 506s # * 506s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 506s # */ 506s # GDBusInterfaceInfo * 506s # org_project_callable_iface_interface_info (void) 506s # { 506s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_override_properties: 506s # * @klass: The class structure for a #GObject derived class. 506s # * @property_id_begin: The property id to assign to the first overridden property. 506s # * 506s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 506s # * The properties are overridden in the order they are defined. 506s # * 506s # * Returns: The last property id. 506s # */ 506s # guint 506s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 506s # { 506s # return property_id_begin - 1; 506s # } 506s # 506s # 506s # inline static void 506s # org_project_callable_iface_method_marshal_simple_method ( 506s # GClosure *closure, 506s # GValue *return_value, 506s # unsigned int n_param_values, 506s # const GValue *param_values, 506s # void *invocation_hint, 506s # void *marshal_data) 506s # { 506s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 506s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 506s # } 506s # 506s # 506s # /** 506s # * OrgProjectCallableIface: 506s # * 506s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 506s # */ 506s # 506s # /** 506s # * OrgProjectCallableIfaceIface: 506s # * @parent_iface: The parent interface. 506s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 506s # * 506s # * Virtual table for the D-Bus interface org.project.CallableIface. 506s # */ 506s # 506s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 506s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 506s # 506s # static void 506s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 506s # { 506s # /* GObject signals for incoming D-Bus method calls: */ 506s # /** 506s # * OrgProjectCallableIface::handle-simple-method: 506s # * @object: A #OrgProjectCallableIface. 506s # * @invocation: A #GDBusMethodInvocation. 506s # * 506s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 506s # * 506s # * 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. 506s # * 506s # * 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. 506s # */ 506s # g_signal_new ("handle-simple-method", 506s # G_TYPE_FROM_INTERFACE (iface), 506s # G_SIGNAL_RUN_LAST, 506s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 506s # g_signal_accumulator_true_handled, 506s # NULL, 506s # org_project_callable_iface_method_marshal_simple_method, 506s # G_TYPE_BOOLEAN, 506s # 1, 506s # G_TYPE_DBUS_METHOD_INVOCATION); 506s # 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_call_simple_method: 506s # * @proxy: A #OrgProjectCallableIfaceProxy. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 506s # * 506s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 506s # */ 506s # void 506s # org_project_callable_iface_call_simple_method ( 506s # OrgProjectCallableIface *proxy, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 506s # "SimpleMethod", 506s # g_variant_new ("()"), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # cancellable, 506s # callback, 506s # user_data); 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_call_simple_method_finish: 506s # * @proxy: A #OrgProjectCallableIfaceProxy. 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 506s # * @error: Return location for error or %NULL. 506s # * 506s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 506s # * 506s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 506s # */ 506s # gboolean 506s # org_project_callable_iface_call_simple_method_finish ( 506s # OrgProjectCallableIface *proxy, 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GVariant *_ret; 506s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 506s # if (_ret == NULL) 506s # goto _out; 506s # g_variant_get (_ret, 506s # "()"); 506s # g_variant_unref (_ret); 506s # _out: 506s # return _ret != NULL; 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_call_simple_method_sync: 506s # * @proxy: A #OrgProjectCallableIfaceProxy. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL. 506s # * 506s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 506s # * 506s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 506s # * 506s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 506s # */ 506s # gboolean 506s # org_project_callable_iface_call_simple_method_sync ( 506s # OrgProjectCallableIface *proxy, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GVariant *_ret; 506s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 506s # "SimpleMethod", 506s # g_variant_new ("()"), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # cancellable, 506s # error); 506s # if (_ret == NULL) 506s # goto _out; 506s # g_variant_get (_ret, 506s # "()"); 506s # g_variant_unref (_ret); 506s # _out: 506s # return _ret != NULL; 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_complete_simple_method: 506s # * @object: A #OrgProjectCallableIface. 506s # * @invocation: (transfer full): A #GDBusMethodInvocation. 506s # * 506s # * 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. 506s # * 506s # * This method will free @invocation, you cannot use it afterwards. 506s # */ 506s # void 506s # org_project_callable_iface_complete_simple_method ( 506s # OrgProjectCallableIface *object G_GNUC_UNUSED, 506s # GDBusMethodInvocation *invocation) 506s # { 506s # g_dbus_method_invocation_return_value (invocation, 506s # g_variant_new ("()")); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * OrgProjectCallableIfaceProxy: 506s # * 506s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * OrgProjectCallableIfaceProxyClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for #OrgProjectCallableIfaceProxy. 506s # */ 506s # 506s # struct _OrgProjectCallableIfaceProxyPrivate 506s # { 506s # GData *qdata; 506s # }; 506s # 506s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 506s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 506s # 506s # #endif 506s # static void 506s # org_project_callable_iface_proxy_finalize (GObject *object) 506s # { 506s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 506s # g_datalist_clear (&proxy->priv->qdata); 506s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 506s # guint prop_id G_GNUC_UNUSED, 506s # GValue *value G_GNUC_UNUSED, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 506s # guint prop_id G_GNUC_UNUSED, 506s # const GValue *value G_GNUC_UNUSED, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 506s # const gchar *sender_name G_GNUC_UNUSED, 506s # const gchar *signal_name, 506s # GVariant *parameters) 506s # { 506s # _ExtendedGDBusSignalInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # gsize n; 506s # guint signal_id; 506s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 506s # if (info == NULL) 506s # return; 506s # num_params = g_variant_n_children (parameters); 506s # paramv = g_new0 (GValue, num_params + 1); 506s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 506s # g_value_set_object (¶mv[0], proxy); 506s # g_variant_iter_init (&iter, parameters); 506s # n = 1; 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 506s # g_signal_emitv (paramv, signal_id, 0, NULL); 506s # for (n = 0; n < num_params + 1; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 506s # GVariant *changed_properties, 506s # const gchar *const *invalidated_properties) 506s # { 506s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 506s # guint n; 506s # const gchar *key; 506s # GVariantIter *iter; 506s # _ExtendedGDBusPropertyInfo *info; 506s # g_variant_get (changed_properties, "a{sv}", &iter); 506s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 506s # g_datalist_remove_data (&proxy->priv->qdata, key); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # g_variant_iter_free (iter); 506s # for (n = 0; invalidated_properties[n] != NULL; n++) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 506s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 506s # #else 506s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 506s # #endif 506s # 506s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusProxyClass *proxy_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 506s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 506s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 506s # 506s # proxy_class = G_DBUS_PROXY_CLASS (klass); 506s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 506s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_proxy_new: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 506s # * 506s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # org_project_callable_iface_proxy_new ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_proxy_new_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 506s # * 506s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectCallableIface * 506s # org_project_callable_iface_proxy_new_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return ORG_PROJECT_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_proxy_new_sync: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectCallableIface * 506s # org_project_callable_iface_proxy_new_sync ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return ORG_PROJECT_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /** 506s # * org_project_callable_iface_proxy_new_for_bus: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 506s # * 506s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # org_project_callable_iface_proxy_new_for_bus ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_proxy_new_for_bus_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 506s # * 506s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectCallableIface * 506s # org_project_callable_iface_proxy_new_for_bus_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return ORG_PROJECT_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_proxy_new_for_bus_sync: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectCallableIface * 506s # org_project_callable_iface_proxy_new_for_bus_sync ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return ORG_PROJECT_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * OrgProjectCallableIfaceSkeleton: 506s # * 506s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * OrgProjectCallableIfaceSkeletonClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for #OrgProjectCallableIfaceSkeleton. 506s # */ 506s # 506s # struct _OrgProjectCallableIfaceSkeletonPrivate 506s # { 506s # GValue *properties; 506s # GList *changed_properties; 506s # GSource *changed_properties_idle_source; 506s # GMainContext *context; 506s # GMutex lock; 506s # }; 506s # 506s # static void 506s # _org_project_callable_iface_skeleton_handle_method_call ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name, 506s # const gchar *method_name, 506s # GVariant *parameters, 506s # GDBusMethodInvocation *invocation, 506s # gpointer user_data) 506s # { 506s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 506s # _ExtendedGDBusMethodInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # guint num_extra; 506s # gsize n; 506s # guint signal_id; 506s # GValue return_value = G_VALUE_INIT; 506s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 506s # g_assert (info != NULL); 506s # num_params = g_variant_n_children (parameters); 506s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 506s # n = 0; 506s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 506s # g_value_set_object (¶mv[n++], skeleton); 506s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 506s # g_value_set_object (¶mv[n++], invocation); 506s # if (info->pass_fdlist) 506s # { 506s # #ifdef G_OS_UNIX 506s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 506s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 506s # #else 506s # g_assert_not_reached (); 506s # #endif 506s # } 506s # g_variant_iter_init (&iter, parameters); 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 506s # g_value_init (&return_value, G_TYPE_BOOLEAN); 506s # g_signal_emitv (paramv, signal_id, 0, &return_value); 506s # if (!g_value_get_boolean (&return_value)) 506s # 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); 506s # g_value_unset (&return_value); 506s # for (n = 0; n < num_params + num_extra; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static GVariant * 506s # _org_project_callable_iface_skeleton_handle_get_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # GVariant *ret; 506s # ret = NULL; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # g_value_init (&value, pspec->value_type); 506s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_value_unset (&value); 506s # } 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _org_project_callable_iface_skeleton_handle_set_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GVariant *variant, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # gboolean ret; 506s # ret = FALSE; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # if (info->use_gvariant) 506s # g_value_set_variant (&value, variant); 506s # else 506s # g_dbus_gvariant_to_gvalue (variant, &value); 506s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # g_value_unset (&value); 506s # ret = TRUE; 506s # } 506s # return ret; 506s # } 506s # 506s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 506s # { 506s # _org_project_callable_iface_skeleton_handle_method_call, 506s # _org_project_callable_iface_skeleton_handle_get_property, 506s # _org_project_callable_iface_skeleton_handle_set_property, 506s # {NULL} 506s # }; 506s # 506s # static GDBusInterfaceInfo * 506s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return org_project_callable_iface_interface_info (); 506s # } 506s # 506s # static GDBusInterfaceVTable * 506s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 506s # } 506s # 506s # static GVariant * 506s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 506s # 506s # GVariantBuilder builder; 506s # guint n; 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 506s # goto out; 506s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 506s # { 506s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 506s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 506s # { 506s # GVariant *value; 506s # 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); 506s # if (value != NULL) 506s # { 506s # g_variant_take_ref (value); 506s # g_variant_builder_add (&builder, "{sv}", info->name, value); 506s # g_variant_unref (value); 506s # } 506s # } 506s # } 506s # out: 506s # return g_variant_builder_end (&builder); 506s # } 506s # 506s # static void 506s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 506s # 506s # #endif 506s # static void 506s # org_project_callable_iface_skeleton_finalize (GObject *object) 506s # { 506s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # g_main_context_unref (skeleton->priv->context); 506s # g_mutex_clear (&skeleton->priv->lock); 506s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 506s # #else 506s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 506s # #endif 506s # 506s # g_mutex_init (&skeleton->priv->lock); 506s # skeleton->priv->context = g_main_context_ref_thread_default (); 506s # } 506s # 506s # static void 506s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusInterfaceSkeletonClass *skeleton_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 506s # 506s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 506s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 506s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 506s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 506s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # /** 506s # * org_project_callable_iface_skeleton_new: 506s # * 506s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 506s # * 506s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 506s # */ 506s # OrgProjectCallableIface * 506s # org_project_callable_iface_skeleton_new (void) 506s # { 506s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ 506s # * Code for interface org.project.OtherCallableIface 506s # * ------------------------------------------------------------------------ 506s # */ 506s # 506s # /** 506s # * SECTION:OrgProjectOtherCallableIface 506s # * @title: OrgProjectOtherCallableIface 506s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 506s # * 506s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 506s # */ 506s # 506s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 506s # 506s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 506s # { 506s # { 506s # -1, 506s # (gchar *) "SimpleMethod", 506s # NULL, 506s # NULL, 506s # NULL 506s # }, 506s # "handle-simple-method", 506s # FALSE 506s # }; 506s # 506s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 506s # { 506s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 506s # NULL 506s # }; 506s # 506s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 506s # { 506s # { 506s # -1, 506s # (gchar *) "org.project.OtherCallableIface", 506s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 506s # NULL, 506s # NULL, 506s # NULL 506s # }, 506s # "org-project-other-callable-iface", 506s # }; 506s # 506s # 506s # /** 506s # * org_project_other_callable_iface_interface_info: 506s # * 506s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 506s # * 506s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 506s # */ 506s # GDBusInterfaceInfo * 506s # org_project_other_callable_iface_interface_info (void) 506s # { 506s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_override_properties: 506s # * @klass: The class structure for a #GObject derived class. 506s # * @property_id_begin: The property id to assign to the first overridden property. 506s # * 506s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 506s # * The properties are overridden in the order they are defined. 506s # * 506s # * Returns: The last property id. 506s # */ 506s # guint 506s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 506s # { 506s # return property_id_begin - 1; 506s # } 506s # 506s # 506s # inline static void 506s # org_project_other_callable_iface_method_marshal_simple_method ( 506s # GClosure *closure, 506s # GValue *return_value, 506s # unsigned int n_param_values, 506s # const GValue *param_values, 506s # void *invocation_hint, 506s # void *marshal_data) 506s # { 506s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 506s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 506s # } 506s # 506s # 506s # /** 506s # * OrgProjectOtherCallableIface: 506s # * 506s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 506s # */ 506s # 506s # /** 506s # * OrgProjectOtherCallableIfaceIface: 506s # * @parent_iface: The parent interface. 506s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 506s # * 506s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 506s # */ 506s # 506s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 506s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 506s # 506s # static void 506s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 506s # { 506s # /* GObject signals for incoming D-Bus method calls: */ 506s # /** 506s # * OrgProjectOtherCallableIface::handle-simple-method: 506s # * @object: A #OrgProjectOtherCallableIface. 506s # * @invocation: A #GDBusMethodInvocation. 506s # * 506s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 506s # * 506s # * 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. 506s # * 506s # * 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. 506s # */ 506s # g_signal_new ("handle-simple-method", 506s # G_TYPE_FROM_INTERFACE (iface), 506s # G_SIGNAL_RUN_LAST, 506s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 506s # g_signal_accumulator_true_handled, 506s # NULL, 506s # org_project_other_callable_iface_method_marshal_simple_method, 506s # G_TYPE_BOOLEAN, 506s # 1, 506s # G_TYPE_DBUS_METHOD_INVOCATION); 506s # 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_call_simple_method: 506s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 506s # * 506s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 506s # */ 506s # void 506s # org_project_other_callable_iface_call_simple_method ( 506s # OrgProjectOtherCallableIface *proxy, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 506s # "SimpleMethod", 506s # g_variant_new ("()"), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # cancellable, 506s # callback, 506s # user_data); 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_call_simple_method_finish: 506s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 506s # * @error: Return location for error or %NULL. 506s # * 506s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 506s # * 506s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 506s # */ 506s # gboolean 506s # org_project_other_callable_iface_call_simple_method_finish ( 506s # OrgProjectOtherCallableIface *proxy, 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GVariant *_ret; 506s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 506s # if (_ret == NULL) 506s # goto _out; 506s # g_variant_get (_ret, 506s # "()"); 506s # g_variant_unref (_ret); 506s # _out: 506s # return _ret != NULL; 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_call_simple_method_sync: 506s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL. 506s # * 506s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 506s # * 506s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 506s # * 506s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 506s # */ 506s # gboolean 506s # org_project_other_callable_iface_call_simple_method_sync ( 506s # OrgProjectOtherCallableIface *proxy, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GVariant *_ret; 506s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 506s # "SimpleMethod", 506s # g_variant_new ("()"), 506s # G_DBUS_CALL_FLAGS_NONE, 506s # -1, 506s # cancellable, 506s # error); 506s # if (_ret == NULL) 506s # goto _out; 506s # g_variant_get (_ret, 506s # "()"); 506s # g_variant_unref (_ret); 506s # _out: 506s # return _ret != NULL; 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_complete_simple_method: 506s # * @object: A #OrgProjectOtherCallableIface. 506s # * @invocation: (transfer full): A #GDBusMethodInvocation. 506s # * 506s # * 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. 506s # * 506s # * This method will free @invocation, you cannot use it afterwards. 506s # */ 506s # void 506s # org_project_other_callable_iface_complete_simple_method ( 506s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 506s # GDBusMethodInvocation *invocation) 506s # { 506s # g_dbus_method_invocation_return_value (invocation, 506s # g_variant_new ("()")); 506s # } 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * OrgProjectOtherCallableIfaceProxy: 506s # * 506s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * OrgProjectOtherCallableIfaceProxyClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 506s # */ 506s # 506s # struct _OrgProjectOtherCallableIfaceProxyPrivate 506s # { 506s # GData *qdata; 506s # }; 506s # 506s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 506s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 506s # 506s # #endif 506s # static void 506s # org_project_other_callable_iface_proxy_finalize (GObject *object) 506s # { 506s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 506s # g_datalist_clear (&proxy->priv->qdata); 506s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 506s # guint prop_id G_GNUC_UNUSED, 506s # GValue *value G_GNUC_UNUSED, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 506s # guint prop_id G_GNUC_UNUSED, 506s # const GValue *value G_GNUC_UNUSED, 506s # GParamSpec *pspec G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 506s # const gchar *sender_name G_GNUC_UNUSED, 506s # const gchar *signal_name, 506s # GVariant *parameters) 506s # { 506s # _ExtendedGDBusSignalInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # gsize n; 506s # guint signal_id; 506s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 506s # if (info == NULL) 506s # return; 506s # num_params = g_variant_n_children (parameters); 506s # paramv = g_new0 (GValue, num_params + 1); 506s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 506s # g_value_set_object (¶mv[0], proxy); 506s # g_variant_iter_init (&iter, parameters); 506s # n = 1; 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 506s # g_signal_emitv (paramv, signal_id, 0, NULL); 506s # for (n = 0; n < num_params + 1; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 506s # GVariant *changed_properties, 506s # const gchar *const *invalidated_properties) 506s # { 506s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 506s # guint n; 506s # const gchar *key; 506s # GVariantIter *iter; 506s # _ExtendedGDBusPropertyInfo *info; 506s # g_variant_get (changed_properties, "a{sv}", &iter); 506s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 506s # g_datalist_remove_data (&proxy->priv->qdata, key); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # g_variant_iter_free (iter); 506s # for (n = 0; invalidated_properties[n] != NULL; n++) 506s # { 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 506s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 506s # if (info != NULL) 506s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 506s # } 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 506s # #else 506s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 506s # #endif 506s # 506s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusProxyClass *proxy_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 506s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 506s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 506s # 506s # proxy_class = G_DBUS_PROXY_CLASS (klass); 506s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 506s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_proxy_new: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 506s # * 506s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # org_project_other_callable_iface_proxy_new ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_proxy_new_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 506s # * 506s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectOtherCallableIface * 506s # org_project_other_callable_iface_proxy_new_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_proxy_new_sync: 506s # * @connection: A #GDBusConnection. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectOtherCallableIface * 506s # org_project_other_callable_iface_proxy_new_sync ( 506s # GDBusConnection *connection, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /** 506s # * org_project_other_callable_iface_proxy_new_for_bus: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 506s # * @user_data: User data to pass to @callback. 506s # * 506s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 506s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 506s # * 506s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 506s # */ 506s # void 506s # org_project_other_callable_iface_proxy_new_for_bus ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GAsyncReadyCallback callback, 506s # gpointer user_data) 506s # { 506s # 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); 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 506s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 506s # * @error: Return location for error or %NULL 506s # * 506s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 506s # * 506s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectOtherCallableIface * 506s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 506s # GAsyncResult *res, 506s # GError **error) 506s # { 506s # GObject *ret; 506s # GObject *source_object; 506s # source_object = g_async_result_get_source_object (res); 506s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 506s # g_object_unref (source_object); 506s # if (ret != NULL) 506s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 506s # * @bus_type: A #GBusType. 506s # * @flags: Flags from the #GDBusProxyFlags enumeration. 506s # * @name: A bus name (well-known or unique). 506s # * @object_path: An object path. 506s # * @cancellable: (nullable): A #GCancellable or %NULL. 506s # * @error: Return location for error or %NULL 506s # * 506s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 506s # * 506s # * The calling thread is blocked until a reply is received. 506s # * 506s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 506s # * 506s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 506s # */ 506s # OrgProjectOtherCallableIface * 506s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 506s # GBusType bus_type, 506s # GDBusProxyFlags flags, 506s # const gchar *name, 506s # const gchar *object_path, 506s # GCancellable *cancellable, 506s # GError **error) 506s # { 506s # GInitable *ret; 506s # 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); 506s # if (ret != NULL) 506s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 506s # else 506s # return NULL; 506s # } 506s # 506s # 506s # /* ------------------------------------------------------------------------ */ 506s # 506s # /** 506s # * OrgProjectOtherCallableIfaceSkeleton: 506s # * 506s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 506s # */ 506s # 506s # /** 506s # * OrgProjectOtherCallableIfaceSkeletonClass: 506s # * @parent_class: The parent class. 506s # * 506s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 506s # */ 506s # 506s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 506s # { 506s # GValue *properties; 506s # GList *changed_properties; 506s # GSource *changed_properties_idle_source; 506s # GMainContext *context; 506s # GMutex lock; 506s # }; 506s # 506s # static void 506s # _org_project_other_callable_iface_skeleton_handle_method_call ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name, 506s # const gchar *method_name, 506s # GVariant *parameters, 506s # GDBusMethodInvocation *invocation, 506s # gpointer user_data) 506s # { 506s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 506s # _ExtendedGDBusMethodInfo *info; 506s # GVariantIter iter; 506s # GVariant *child; 506s # GValue *paramv; 506s # gsize num_params; 506s # guint num_extra; 506s # gsize n; 506s # guint signal_id; 506s # GValue return_value = G_VALUE_INIT; 506s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 506s # g_assert (info != NULL); 506s # num_params = g_variant_n_children (parameters); 506s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 506s # n = 0; 506s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 506s # g_value_set_object (¶mv[n++], skeleton); 506s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 506s # g_value_set_object (¶mv[n++], invocation); 506s # if (info->pass_fdlist) 506s # { 506s # #ifdef G_OS_UNIX 506s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 506s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 506s # #else 506s # g_assert_not_reached (); 506s # #endif 506s # } 506s # g_variant_iter_init (&iter, parameters); 506s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 506s # { 506s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 506s # if (arg_info->use_gvariant) 506s # { 506s # g_value_init (¶mv[n], G_TYPE_VARIANT); 506s # g_value_set_variant (¶mv[n], child); 506s # n++; 506s # } 506s # else 506s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 506s # g_variant_unref (child); 506s # } 506s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 506s # g_value_init (&return_value, G_TYPE_BOOLEAN); 506s # g_signal_emitv (paramv, signal_id, 0, &return_value); 506s # if (!g_value_get_boolean (&return_value)) 506s # 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); 506s # g_value_unset (&return_value); 506s # for (n = 0; n < num_params + num_extra; n++) 506s # g_value_unset (¶mv[n]); 506s # g_free (paramv); 506s # } 506s # 506s # static GVariant * 506s # _org_project_other_callable_iface_skeleton_handle_get_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # GVariant *ret; 506s # ret = NULL; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # g_value_init (&value, pspec->value_type); 506s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 506s # g_value_unset (&value); 506s # } 506s # return ret; 506s # } 506s # 506s # static gboolean 506s # _org_project_other_callable_iface_skeleton_handle_set_property ( 506s # GDBusConnection *connection G_GNUC_UNUSED, 506s # const gchar *sender G_GNUC_UNUSED, 506s # const gchar *object_path G_GNUC_UNUSED, 506s # const gchar *interface_name G_GNUC_UNUSED, 506s # const gchar *property_name, 506s # GVariant *variant, 506s # GError **error, 506s # gpointer user_data) 506s # { 506s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 506s # GValue value = G_VALUE_INIT; 506s # GParamSpec *pspec; 506s # _ExtendedGDBusPropertyInfo *info; 506s # gboolean ret; 506s # ret = FALSE; 506s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 506s # g_assert (info != NULL); 506s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 506s # if (pspec == NULL) 506s # { 506s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 506s # } 506s # else 506s # { 506s # if (info->use_gvariant) 506s # g_value_set_variant (&value, variant); 506s # else 506s # g_dbus_gvariant_to_gvalue (variant, &value); 506s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 506s # g_value_unset (&value); 506s # ret = TRUE; 506s # } 506s # return ret; 506s # } 506s # 506s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 506s # { 506s # _org_project_other_callable_iface_skeleton_handle_method_call, 506s # _org_project_other_callable_iface_skeleton_handle_get_property, 506s # _org_project_other_callable_iface_skeleton_handle_set_property, 506s # {NULL} 506s # }; 506s # 506s # static GDBusInterfaceInfo * 506s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return org_project_other_callable_iface_interface_info (); 506s # } 506s # 506s # static GDBusInterfaceVTable * 506s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 506s # { 506s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 506s # } 506s # 506s # static GVariant * 506s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 506s # { 506s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 506s # 506s # GVariantBuilder builder; 506s # guint n; 506s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 506s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 506s # goto out; 506s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 506s # { 506s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 506s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 506s # { 506s # GVariant *value; 506s # 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); 506s # if (value != NULL) 506s # { 506s # g_variant_take_ref (value); 506s # g_variant_builder_add (&builder, "{sv}", info->name, value); 506s # g_variant_unref (value); 506s # } 506s # } 506s # } 506s # out: 506s # return g_variant_builder_end (&builder); 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 506s # 506s # #else 506s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 506s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 506s # 506s # #endif 506s # static void 506s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 506s # { 506s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 506s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 506s # if (skeleton->priv->changed_properties_idle_source != NULL) 506s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 506s # g_main_context_unref (skeleton->priv->context); 506s # g_mutex_clear (&skeleton->priv->lock); 506s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 506s # { 506s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 506s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 506s # #else 506s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 506s # #endif 506s # 506s # g_mutex_init (&skeleton->priv->lock); 506s # skeleton->priv->context = g_main_context_ref_thread_default (); 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 506s # { 506s # GObjectClass *gobject_class; 506s # GDBusInterfaceSkeletonClass *skeleton_class; 506s # 506s # gobject_class = G_OBJECT_CLASS (klass); 506s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 506s # 506s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 506s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 506s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 506s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 506s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 506s # 506s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 506s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 506s # #endif 506s # } 506s # 506s # static void 506s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 506s # { 506s # } 506s # 506s # /** 506s # * org_project_other_callable_iface_skeleton_new: 506s # * 506s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 506s # * 506s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 506s # */ 506s # OrgProjectOtherCallableIface * 506s # org_project_other_callable_iface_skeleton_new (void) 506s # { 506s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 506s # } 506s # Executing: glib/codegen.py.test 507s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 507s # tmpdir: /tmp/tmp4tchefy_ 507s # codegen: /usr/bin/gdbus-codegen 507s # /tmp/tmp4tchefy_/tmpqlzjh9ca.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpqlzjh9ca.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # gboolean arg_arg_b, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_boolean (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_b", 507s # (gchar *) "b", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodB", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-b", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_b ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_b: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-b", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_b, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_b: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_b: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_b ( 507s # OrgProjectUsefulInterface *proxy, 507s # gboolean arg_arg_b, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodB", 507s # g_variant_new ("(b)", 507s # arg_arg_b), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_b_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_b_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_b_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_b: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_b_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gboolean arg_arg_b, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodB", 507s # g_variant_new ("(b)", 507s # arg_arg_b), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_b: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_b ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpvx1w624q.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpvx1w624q.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # guchar arg_arg_y, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_uchar (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_y", 507s # (gchar *) "y", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodY", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-y", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_y ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_y: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-y", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_y, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_y: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_y: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_y ( 507s # OrgProjectUsefulInterface *proxy, 507s # guchar arg_arg_y, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodY", 507s # g_variant_new ("(y)", 507s # arg_arg_y), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_y_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_y_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_y_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_y: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_y_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guchar arg_arg_y, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodY", 507s # g_variant_new ("(y)", 507s # arg_arg_y), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_y: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_y ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpgytkkj7b.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpgytkkj7b.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # gint16 arg_arg_n, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_int (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_n", 507s # (gchar *) "n", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodN", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-n", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_n ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_n: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-n", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_n, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_n: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_n: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_n ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint16 arg_arg_n, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodN", 507s # g_variant_new ("(n)", 507s # arg_arg_n), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_n_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_n_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_n_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_n: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_n_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint16 arg_arg_n, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodN", 507s # g_variant_new ("(n)", 507s # arg_arg_n), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_n: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_n ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmp4eiuukvf.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmp4eiuukvf.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # guint16 arg_arg_q, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_uint (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_q", 507s # (gchar *) "q", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodQ", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-q", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_q ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_q: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-q", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_q, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_q: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_q: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_q ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint16 arg_arg_q, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodQ", 507s # g_variant_new ("(q)", 507s # arg_arg_q), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_q_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_q_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_q_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_q: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_q_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint16 arg_arg_q, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodQ", 507s # g_variant_new ("(q)", 507s # arg_arg_q), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_q: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_q ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpl3y6sqpa.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpl3y6sqpa.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # gint arg_arg_i, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_int (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_i", 507s # (gchar *) "i", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodI", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-i", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_i ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_i: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-i", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_i, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_i: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_i: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_i ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint arg_arg_i, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodI", 507s # g_variant_new ("(i)", 507s # arg_arg_i), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_i_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_i_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_i_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_i: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_i_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint arg_arg_i, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodI", 507s # g_variant_new ("(i)", 507s # arg_arg_i), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_i: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_i ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmp_a53q282.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmp_a53q282.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # guint arg_arg_u, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_uint (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_u", 507s # (gchar *) "u", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodU", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-u", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_u ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_u: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-u", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_u, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_u: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_u: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_u ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint arg_arg_u, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodU", 507s # g_variant_new ("(u)", 507s # arg_arg_u), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_u_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_u_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_u_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_u: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_u_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint arg_arg_u, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodU", 507s # g_variant_new ("(u)", 507s # arg_arg_u), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_u: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_u ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpc_glx1av.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpc_glx1av.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # gint64 arg_arg_x, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_int64 (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_x", 507s # (gchar *) "x", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodX", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-x", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_x ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_x: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-x", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_x, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_x: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_x: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_x ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint64 arg_arg_x, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodX", 507s # g_variant_new ("(x)", 507s # arg_arg_x), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_x_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_x_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_x_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_x: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_x_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint64 arg_arg_x, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodX", 507s # g_variant_new ("(x)", 507s # arg_arg_x), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_x: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_x ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpserceq_8.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpserceq_8.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # guint64 arg_arg_t, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_uint64 (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_t", 507s # (gchar *) "t", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodT", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-t", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_t ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_t: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-t", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_t, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_t: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_t: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_t ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint64 arg_arg_t, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodT", 507s # g_variant_new ("(t)", 507s # arg_arg_t), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_t_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_t_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_t_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_t: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_t_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint64 arg_arg_t, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodT", 507s # g_variant_new ("(t)", 507s # arg_arg_t), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_t: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_t ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpkjfwk7x4.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpkjfwk7x4.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # gdouble arg_arg_d, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_double (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_d", 507s # (gchar *) "d", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodD", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-d", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_d ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_d: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-d", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_d, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_d: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_d: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_d ( 507s # OrgProjectUsefulInterface *proxy, 507s # gdouble arg_arg_d, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodD", 507s # g_variant_new ("(d)", 507s # arg_arg_d), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_d_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_d_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_d_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_d: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_d_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gdouble arg_arg_d, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodD", 507s # g_variant_new ("(d)", 507s # arg_arg_d), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_d: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_d ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpyrbgbkr9.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpyrbgbkr9.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *arg_arg_s, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_string (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_s", 507s # (gchar *) "s", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodS", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-s", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_s ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_s: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-s", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_s, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_s: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_s: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_s ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_s, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodS", 507s # g_variant_new ("(s)", 507s # arg_arg_s), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_s_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_s_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_s_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_s: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_s_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_s, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodS", 507s # g_variant_new ("(s)", 507s # arg_arg_s), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_s: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_s ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmp_4k1_v6s.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmp_4k1_v6s.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *arg_arg_o, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_string (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_o", 507s # (gchar *) "o", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodO", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-o", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_o ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_o: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-o", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_o, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_o: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_o: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_o ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_o, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodO", 507s # g_variant_new ("(o)", 507s # arg_arg_o), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_o_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_o_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_o_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_o: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_o_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_o, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodO", 507s # g_variant_new ("(o)", 507s # arg_arg_o), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_o: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_o ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpfftrq1k_.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpfftrq1k_.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *arg_arg_g, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_string (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_g", 507s # (gchar *) "g", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodG", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-g", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_g ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_g: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-g", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_g, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_g: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_g: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_g ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_g, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodG", 507s # g_variant_new ("(g)", 507s # arg_arg_g), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_g_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_g_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_g_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_g: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_g_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_g, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodG", 507s # g_variant_new ("(g)", 507s # arg_arg_g), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_g: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_g ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpxg5r8kaf.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpxg5r8kaf.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # GVariant *arg_arg_h, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_variant (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_h", 507s # (gchar *) "h", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodH", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-h", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_h ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_h: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-h", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_h, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_h: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_h: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_h ( 507s # OrgProjectUsefulInterface *proxy, 507s # GVariant *arg_arg_h, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodH", 507s # g_variant_new ("(@h)", 507s # arg_arg_h), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_h_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_h_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_h_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_h: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_h_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # GVariant *arg_arg_h, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodH", 507s # g_variant_new ("(@h)", 507s # arg_arg_h), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_h: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_h ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmp0f7xc9bj.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmp0f7xc9bj.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *arg_arg_ay, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_string (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_ay", 507s # (gchar *) "ay", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAy", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-ay", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_ay: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-ay", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_ay, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ay: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_ay: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_ay ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_ay, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAy", 507s # g_variant_new ("(^ay)", 507s # arg_arg_ay), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ay_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_ay_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ay_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_ay: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_ay_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *arg_arg_ay, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAy", 507s # g_variant_new ("(^ay)", 507s # arg_arg_ay), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_ay: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_ay ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpd4272rg_.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpd4272rg_.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *const *arg_arg_as, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_boxed (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_as", 507s # (gchar *) "as", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAs", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-as", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_as ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_as: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-as", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_as, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_as: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_as: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_as ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *const *arg_arg_as, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAs", 507s # g_variant_new ("(^as)", 507s # arg_arg_as), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_as_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_as_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_as_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_as: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_as_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *const *arg_arg_as, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAs", 507s # g_variant_new ("(^as)", 507s # arg_arg_as), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_as: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_as ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpnx0iem7z.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpnx0iem7z.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *const *arg_arg_ao, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_boxed (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_ao", 507s # (gchar *) "ao", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAo", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-ao", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_ao: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-ao", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_ao, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ao: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_ao: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_ao ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *const *arg_arg_ao, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAo", 507s # g_variant_new ("(^ao)", 507s # arg_arg_ao), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ao_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_ao_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ao_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_ao: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_ao_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *const *arg_arg_ao, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAo", 507s # g_variant_new ("(^ao)", 507s # arg_arg_ao), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_ao: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_ao ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpnfxauu8u.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpnfxauu8u.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # const gchar *const *arg_arg_aay, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_boxed (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_aay", 507s # (gchar *) "aay", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAay", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-aay", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_aay: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-aay", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_aay, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_aay: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_aay: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_aay ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *const *arg_arg_aay, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAay", 507s # g_variant_new ("(^aay)", 507s # arg_arg_aay), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_aay_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_aay_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_aay_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_aay: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_aay_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # const gchar *const *arg_arg_aay, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAay", 507s # g_variant_new ("(^aay)", 507s # arg_arg_aay), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_aay: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_aay ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp4tchefy_/tmpymevfe8q.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4tchefy_/tmpymevfe8q.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # GVariant *arg_arg_asv, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 3); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # g_marshal_value_peek_variant (param_values + 2), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_asv", 507s # (gchar *) "a{sv}", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAsv", 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 507s # NULL, 507s # NULL 507s # }, 507s # "handle-single-arg-method-asv", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * @arg_arg_asv: Argument passed by remote caller. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-asv", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_asv, 507s # G_TYPE_BOOLEAN, 507s # 2, 507s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_asv: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_asv: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_asv ( 507s # OrgProjectUsefulInterface *proxy, 507s # GVariant *arg_arg_asv, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAsv", 507s # g_variant_new ("(@a{sv})", 507s # arg_arg_asv), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_asv_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_asv_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_asv_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @arg_arg_asv: Argument to pass with the method invocation. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_asv_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # GVariant *arg_arg_asv, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAsv", 507s # g_variant_new ("(@a{sv})", 507s # arg_arg_asv), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "()"); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_asv: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_asv ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("()")); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 507s # tmpdir: /tmp/tmp3czxlom6 507s # codegen: /usr/bin/gdbus-codegen 507s # /tmp/tmp3czxlom6/tmp7x3zg8z7.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmp7x3zg8z7.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_b", 507s # (gchar *) "b", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodB", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-b", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_b ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-b", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_b, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_b: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_b ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodB", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_b_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_b_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gboolean *out_arg_b, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(b)", 507s # out_arg_b); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_b_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_b_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gboolean *out_arg_b, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodB", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(b)", 507s # out_arg_b); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_b: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_b: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_b ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # gboolean arg_b) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(b)", 507s # arg_b)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpz_03kjtr.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpz_03kjtr.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_y", 507s # (gchar *) "y", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodY", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-y", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_y ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-y", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_y, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_y: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_y ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodY", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_y_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_y_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # guchar *out_arg_y, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(y)", 507s # out_arg_y); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_y_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_y_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guchar *out_arg_y, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodY", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(y)", 507s # out_arg_y); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_y: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_y: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_y ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # guchar arg_y) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(y)", 507s # arg_y)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmprz92dksr.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmprz92dksr.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_n", 507s # (gchar *) "n", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodN", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-n", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_n ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-n", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_n, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_n: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_n ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodN", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_n_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_n_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint16 *out_arg_n, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(n)", 507s # out_arg_n); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_n_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_n_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint16 *out_arg_n, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodN", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(n)", 507s # out_arg_n); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_n: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_n: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_n ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # gint16 arg_n) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(n)", 507s # arg_n)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmp63tx2wwc.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmp63tx2wwc.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_q", 507s # (gchar *) "q", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodQ", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-q", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_q ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-q", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_q, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_q: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_q ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodQ", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_q_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_q_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint16 *out_arg_q, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(q)", 507s # out_arg_q); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_q_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_q_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint16 *out_arg_q, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodQ", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(q)", 507s # out_arg_q); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_q: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_q: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_q ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # guint16 arg_q) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(q)", 507s # arg_q)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpx4p9h4i2.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpx4p9h4i2.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_i", 507s # (gchar *) "i", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodI", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-i", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_i ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-i", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_i, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_i: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_i ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodI", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_i_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_i_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint *out_arg_i, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(i)", 507s # out_arg_i); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_i_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_i_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint *out_arg_i, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodI", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(i)", 507s # out_arg_i); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_i: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_i: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_i ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # gint arg_i) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(i)", 507s # arg_i)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpw5na_i_2.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpw5na_i_2.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_u", 507s # (gchar *) "u", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodU", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-u", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_u ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-u", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_u, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_u: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_u ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodU", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_u_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_u_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint *out_arg_u, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(u)", 507s # out_arg_u); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_u_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_u_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint *out_arg_u, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodU", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(u)", 507s # out_arg_u); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_u: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_u: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_u ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # guint arg_u) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(u)", 507s # arg_u)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpftok533e.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpftok533e.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_x", 507s # (gchar *) "x", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodX", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-x", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_x ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-x", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_x, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_x: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_x ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodX", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_x_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_x_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint64 *out_arg_x, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(x)", 507s # out_arg_x); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_x_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_x_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gint64 *out_arg_x, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodX", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(x)", 507s # out_arg_x); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_x: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_x: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_x ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # gint64 arg_x) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(x)", 507s # arg_x)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpmbraypkl.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpmbraypkl.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_t", 507s # (gchar *) "t", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodT", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-t", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_t ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-t", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_t, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_t: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_t ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodT", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_t_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_t_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint64 *out_arg_t, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(t)", 507s # out_arg_t); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_t_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_t_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # guint64 *out_arg_t, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodT", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(t)", 507s # out_arg_t); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_t: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_t: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_t ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # guint64 arg_t) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(t)", 507s # arg_t)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmp7ijn5j27.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmp7ijn5j27.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_d", 507s # (gchar *) "d", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodD", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-d", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_d ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-d", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_d, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_d: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_d ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodD", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_d_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_d_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gdouble *out_arg_d, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(d)", 507s # out_arg_d); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_d_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_d_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gdouble *out_arg_d, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodD", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(d)", 507s # out_arg_d); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_d: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_d: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_d ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # gdouble arg_d) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(d)", 507s # arg_d)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpqc2qeg_i.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpqc2qeg_i.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_s", 507s # (gchar *) "s", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodS", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-s", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_s ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-s", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_s, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_s: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_s ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodS", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_s_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_s_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_s, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(s)", 507s # out_arg_s); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_s_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_s_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_s, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodS", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(s)", 507s # out_arg_s); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_s: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_s: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_s ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # const gchar *arg_s) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(s)", 507s # arg_s)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmp1pnp1hdw.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmp1pnp1hdw.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_o", 507s # (gchar *) "o", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodO", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-o", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_o ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-o", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_o, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_o: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_o ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodO", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_o_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_o_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_o, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(o)", 507s # out_arg_o); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_o_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_o_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_o, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodO", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(o)", 507s # out_arg_o); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_o: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_o: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_o ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # const gchar *arg_o) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(o)", 507s # arg_o)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpknlizke6.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpknlizke6.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_g", 507s # (gchar *) "g", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodG", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-g", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_g ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-g", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_g, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_g: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_g ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodG", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_g_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_g_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_g, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(g)", 507s # out_arg_g); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_g_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_g_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_g, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodG", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(g)", 507s # out_arg_g); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_g: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_g: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_g ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # const gchar *arg_g) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(g)", 507s # arg_g)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmpjzbe6afo.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpjzbe6afo.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_h", 507s # (gchar *) "h", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodH", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-h", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_h ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-h", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_h, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_h: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_h ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodH", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_h_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_h_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # GVariant **out_arg_h, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(@h)", 507s # out_arg_h); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_h_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_h_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # GVariant **out_arg_h, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodH", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(@h)", 507s # out_arg_h); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_h: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_h: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_h ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # GVariant *arg_h) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(@h)", 507s # arg_h)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmp0r02b_25.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmp0r02b_25.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_ay", 507s # (gchar *) "ay", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAy", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-ay", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-ay", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_ay, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ay: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_ay ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAy", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ay_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_ay_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_ay, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(^ay)", 507s # out_arg_ay); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_ay_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_ay_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar **out_arg_ay, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAy", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(^ay)", 507s # out_arg_ay); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_ay: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_ay: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_ay ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # const gchar *arg_ay) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(^ay)", 507s # arg_ay)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeletonClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 507s # { 507s # GValue *properties; 507s # GList *changed_properties; 507s # GSource *changed_properties_idle_source; 507s # GMainContext *context; 507s # GMutex lock; 507s # }; 507s # 507s # static void 507s # _org_project_useful_interface_skeleton_handle_method_call ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name, 507s # const gchar *method_name, 507s # GVariant *parameters, 507s # GDBusMethodInvocation *invocation, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # _ExtendedGDBusMethodInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # guint num_extra; 507s # gsize n; 507s # guint signal_id; 507s # GValue return_value = G_VALUE_INIT; 507s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 507s # g_assert (info != NULL); 507s # num_params = g_variant_n_children (parameters); 507s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 507s # n = 0; 507s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[n++], skeleton); 507s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 507s # g_value_set_object (¶mv[n++], invocation); 507s # if (info->pass_fdlist) 507s # { 507s # #ifdef G_OS_UNIX 507s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 507s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 507s # #else 507s # g_assert_not_reached (); 507s # #endif 507s # } 507s # g_variant_iter_init (&iter, parameters); 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_init (&return_value, G_TYPE_BOOLEAN); 507s # g_signal_emitv (paramv, signal_id, 0, &return_value); 507s # if (!g_value_get_boolean (&return_value)) 507s # 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); 507s # g_value_unset (&return_value); 507s # for (n = 0; n < num_params + num_extra; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static GVariant * 507s # _org_project_useful_interface_skeleton_handle_get_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # GVariant *ret; 507s # ret = NULL; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # g_value_init (&value, pspec->value_type); 507s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 507s # g_value_unset (&value); 507s # } 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _org_project_useful_interface_skeleton_handle_set_property ( 507s # GDBusConnection *connection G_GNUC_UNUSED, 507s # const gchar *sender G_GNUC_UNUSED, 507s # const gchar *object_path G_GNUC_UNUSED, 507s # const gchar *interface_name G_GNUC_UNUSED, 507s # const gchar *property_name, 507s # GVariant *variant, 507s # GError **error, 507s # gpointer user_data) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 507s # GValue value = G_VALUE_INIT; 507s # GParamSpec *pspec; 507s # _ExtendedGDBusPropertyInfo *info; 507s # gboolean ret; 507s # ret = FALSE; 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 507s # g_assert (info != NULL); 507s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 507s # if (pspec == NULL) 507s # { 507s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 507s # } 507s # else 507s # { 507s # if (info->use_gvariant) 507s # g_value_set_variant (&value, variant); 507s # else 507s # g_dbus_gvariant_to_gvalue (variant, &value); 507s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 507s # g_value_unset (&value); 507s # ret = TRUE; 507s # } 507s # return ret; 507s # } 507s # 507s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 507s # { 507s # _org_project_useful_interface_skeleton_handle_method_call, 507s # _org_project_useful_interface_skeleton_handle_get_property, 507s # _org_project_useful_interface_skeleton_handle_set_property, 507s # {NULL} 507s # }; 507s # 507s # static GDBusInterfaceInfo * 507s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return org_project_useful_interface_interface_info (); 507s # } 507s # 507s # static GDBusInterfaceVTable * 507s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 507s # { 507s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 507s # } 507s # 507s # static GVariant * 507s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 507s # 507s # GVariantBuilder builder; 507s # guint n; 507s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 507s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 507s # goto out; 507s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 507s # { 507s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 507s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 507s # { 507s # GVariant *value; 507s # 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); 507s # if (value != NULL) 507s # { 507s # g_variant_take_ref (value); 507s # g_variant_builder_add (&builder, "{sv}", info->name, value); 507s # g_variant_unref (value); 507s # } 507s # } 507s # } 507s # out: 507s # return g_variant_builder_end (&builder); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_skeleton_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 507s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 507s # if (skeleton->priv->changed_properties_idle_source != NULL) 507s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 507s # g_main_context_unref (skeleton->priv->context); 507s # g_mutex_clear (&skeleton->priv->lock); 507s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 507s # #else 507s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 507s # #endif 507s # 507s # g_mutex_init (&skeleton->priv->lock); 507s # skeleton->priv->context = g_main_context_ref_thread_default (); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusInterfaceSkeletonClass *skeleton_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 507s # 507s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 507s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 507s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 507s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 507s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_skeleton_new: 507s # * 507s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_skeleton_new (void) 507s # { 507s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 507s # } 507s # /tmp/tmp3czxlom6/tmptqmhwub1.xml: 507s # 507s # 507s # 507s # 507s # 507s # 507s # 507s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmptqmhwub1.xml', '--output', '-', '--body'] 507s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 507s # Output: /* 507s # * This file is generated by gdbus-codegen, do not modify it. 507s # * 507s # * The license of this code is the same as for the D-Bus interface description 507s # * it was derived from. Note that it links to GLib, so must comply with the 507s # * LGPL linking clauses. 507s # */ 507s # 507s # #ifdef HAVE_CONFIG_H 507s # # include "config.h" 507s # #endif 507s # 507s # #include 507s # #ifdef G_OS_UNIX 507s # # include 507s # #endif 507s # 507s # #ifdef G_ENABLE_DEBUG 507s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 507s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 507s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 507s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 507s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 507s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 507s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 507s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 507s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 507s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 507s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 507s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 507s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 507s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 507s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 507s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 507s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 507s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 507s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 507s # #else /* !G_ENABLE_DEBUG */ 507s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 507s # * Do not access GValues directly in your code. Instead, use the 507s # * g_value_get_*() functions 507s # */ 507s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 507s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 507s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 507s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 507s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 507s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 507s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 507s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 507s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 507s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 507s # #endif /* !G_ENABLE_DEBUG */ 507s # 507s # typedef struct 507s # { 507s # GDBusArgInfo parent_struct; 507s # gboolean use_gvariant; 507s # } _ExtendedGDBusArgInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusMethodInfo parent_struct; 507s # const gchar *signal_name; 507s # gboolean pass_fdlist; 507s # } _ExtendedGDBusMethodInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusSignalInfo parent_struct; 507s # const gchar *signal_name; 507s # } _ExtendedGDBusSignalInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusPropertyInfo parent_struct; 507s # const gchar *hyphen_name; 507s # guint use_gvariant : 1; 507s # guint emits_changed_signal : 1; 507s # } _ExtendedGDBusPropertyInfo; 507s # 507s # typedef struct 507s # { 507s # GDBusInterfaceInfo parent_struct; 507s # const gchar *hyphen_name; 507s # } _ExtendedGDBusInterfaceInfo; 507s # 507s # typedef struct 507s # { 507s # const _ExtendedGDBusPropertyInfo *info; 507s # guint prop_id; 507s # GValue orig_value; /* the value before the change */ 507s # } ChangedProperty; 507s # 507s # static void 507s # _changed_property_free (ChangedProperty *data) 507s # { 507s # g_value_unset (&data->orig_value); 507s # g_free (data); 507s # } 507s # 507s # static gboolean 507s # _g_strv_equal0 (gchar **a, gchar **b) 507s # { 507s # gboolean ret = FALSE; 507s # guint n; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # if (g_strv_length (a) != g_strv_length (b)) 507s # goto out; 507s # for (n = 0; a[n] != NULL; n++) 507s # if (g_strcmp0 (a[n], b[n]) != 0) 507s # goto out; 507s # ret = TRUE; 507s # out: 507s # return ret; 507s # } 507s # 507s # static gboolean 507s # _g_variant_equal0 (GVariant *a, GVariant *b) 507s # { 507s # gboolean ret = FALSE; 507s # if (a == NULL && b == NULL) 507s # { 507s # ret = TRUE; 507s # goto out; 507s # } 507s # if (a == NULL || b == NULL) 507s # goto out; 507s # ret = g_variant_equal (a, b); 507s # out: 507s # return ret; 507s # } 507s # 507s # G_GNUC_UNUSED static gboolean 507s # _g_value_equal (const GValue *a, const GValue *b) 507s # { 507s # gboolean ret = FALSE; 507s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 507s # switch (G_VALUE_TYPE (a)) 507s # { 507s # case G_TYPE_BOOLEAN: 507s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 507s # break; 507s # case G_TYPE_UCHAR: 507s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 507s # break; 507s # case G_TYPE_INT: 507s # ret = (g_value_get_int (a) == g_value_get_int (b)); 507s # break; 507s # case G_TYPE_UINT: 507s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 507s # break; 507s # case G_TYPE_INT64: 507s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 507s # break; 507s # case G_TYPE_UINT64: 507s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 507s # break; 507s # case G_TYPE_DOUBLE: 507s # { 507s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 507s # gdouble da = g_value_get_double (a); 507s # gdouble db = g_value_get_double (b); 507s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 507s # } 507s # break; 507s # case G_TYPE_STRING: 507s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 507s # break; 507s # case G_TYPE_VARIANT: 507s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 507s # break; 507s # default: 507s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 507s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 507s # else 507s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 507s # break; 507s # } 507s # return ret; 507s # } 507s # 507s # static void 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint G_GNUC_UNUSED, 507s # void *marshal_data) 507s # { 507s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (void *data1, 507s # GDBusMethodInvocation *arg_method_invocation, 507s # void *data2); 507s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 507s # GCClosure *cc = (GCClosure*) closure; 507s # void *data1, *data2; 507s # gboolean v_return; 507s # 507s # g_return_if_fail (return_value != NULL); 507s # g_return_if_fail (n_param_values == 2); 507s # 507s # if (G_CCLOSURE_SWAP_DATA (closure)) 507s # { 507s # data1 = closure->data; 507s # data2 = g_value_peek_pointer (param_values + 0); 507s # } 507s # else 507s # { 507s # data1 = g_value_peek_pointer (param_values + 0); 507s # data2 = closure->data; 507s # } 507s # 507s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 507s # (marshal_data ? marshal_data : cc->callback); 507s # 507s # v_return = 507s # callback (data1, 507s # g_marshal_value_peek_object (param_values + 1), 507s # data2); 507s # 507s # g_value_set_boolean (return_value, v_return); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ 507s # * Code for interface org.project.UsefulInterface 507s # * ------------------------------------------------------------------------ 507s # */ 507s # 507s # /** 507s # * SECTION:OrgProjectUsefulInterface 507s # * @title: OrgProjectUsefulInterface 507s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 507s # * 507s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 507s # */ 507s # 507s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 507s # 507s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 507s # { 507s # { 507s # -1, 507s # (gchar *) "arg_as", 507s # (gchar *) "as", 507s # NULL 507s # }, 507s # FALSE 507s # }; 507s # 507s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 507s # { 507s # { 507s # -1, 507s # (gchar *) "SingleArgMethodAs", 507s # NULL, 507s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 507s # NULL 507s # }, 507s # "handle-single-arg-method-as", 507s # FALSE 507s # }; 507s # 507s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 507s # { 507s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 507s # NULL 507s # }; 507s # 507s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 507s # { 507s # { 507s # -1, 507s # (gchar *) "org.project.UsefulInterface", 507s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 507s # NULL, 507s # NULL, 507s # NULL 507s # }, 507s # "org-project-useful-interface", 507s # }; 507s # 507s # 507s # /** 507s # * org_project_useful_interface_interface_info: 507s # * 507s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 507s # * 507s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 507s # */ 507s # GDBusInterfaceInfo * 507s # org_project_useful_interface_interface_info (void) 507s # { 507s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_override_properties: 507s # * @klass: The class structure for a #GObject derived class. 507s # * @property_id_begin: The property id to assign to the first overridden property. 507s # * 507s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 507s # * The properties are overridden in the order they are defined. 507s # * 507s # * Returns: The last property id. 507s # */ 507s # guint 507s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 507s # { 507s # return property_id_begin - 1; 507s # } 507s # 507s # 507s # inline static void 507s # org_project_useful_interface_method_marshal_single_arg_method_as ( 507s # GClosure *closure, 507s # GValue *return_value, 507s # unsigned int n_param_values, 507s # const GValue *param_values, 507s # void *invocation_hint, 507s # void *marshal_data) 507s # { 507s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 507s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 507s # } 507s # 507s # 507s # /** 507s # * OrgProjectUsefulInterface: 507s # * 507s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceIface: 507s # * @parent_iface: The parent interface. 507s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 507s # * 507s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 507s # */ 507s # 507s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 507s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 507s # 507s # static void 507s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 507s # { 507s # /* GObject signals for incoming D-Bus method calls: */ 507s # /** 507s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: A #GDBusMethodInvocation. 507s # * 507s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 507s # * 507s # * 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. 507s # * 507s # * 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. 507s # */ 507s # g_signal_new ("handle-single-arg-method-as", 507s # G_TYPE_FROM_INTERFACE (iface), 507s # G_SIGNAL_RUN_LAST, 507s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 507s # g_signal_accumulator_true_handled, 507s # NULL, 507s # org_project_useful_interface_method_marshal_single_arg_method_as, 507s # G_TYPE_BOOLEAN, 507s # 1, 507s # G_TYPE_DBUS_METHOD_INVOCATION); 507s # 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_as: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 507s # */ 507s # void 507s # org_project_useful_interface_call_single_arg_method_as ( 507s # OrgProjectUsefulInterface *proxy, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAs", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # callback, 507s # user_data); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_as_finish: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_as_finish ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar ***out_arg_as, 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(^as)", 507s # out_arg_as); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_call_single_arg_method_as_sync: 507s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 507s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL. 507s # * 507s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 507s # * 507s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 507s # */ 507s # gboolean 507s # org_project_useful_interface_call_single_arg_method_as_sync ( 507s # OrgProjectUsefulInterface *proxy, 507s # gchar ***out_arg_as, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GVariant *_ret; 507s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 507s # "SingleArgMethodAs", 507s # g_variant_new ("()"), 507s # G_DBUS_CALL_FLAGS_NONE, 507s # -1, 507s # cancellable, 507s # error); 507s # if (_ret == NULL) 507s # goto _out; 507s # g_variant_get (_ret, 507s # "(^as)", 507s # out_arg_as); 507s # g_variant_unref (_ret); 507s # _out: 507s # return _ret != NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_complete_single_arg_method_as: 507s # * @object: A #OrgProjectUsefulInterface. 507s # * @invocation: (transfer full): A #GDBusMethodInvocation. 507s # * @arg_as: Parameter to return. 507s # * 507s # * 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. 507s # * 507s # * This method will free @invocation, you cannot use it afterwards. 507s # */ 507s # void 507s # org_project_useful_interface_complete_single_arg_method_as ( 507s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 507s # GDBusMethodInvocation *invocation, 507s # const gchar *const *arg_as) 507s # { 507s # g_dbus_method_invocation_return_value (invocation, 507s # g_variant_new ("(^as)", 507s # arg_as)); 507s # } 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxy: 507s # * 507s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 507s # */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceProxyClass: 507s # * @parent_class: The parent class. 507s # * 507s # * Class structure for #OrgProjectUsefulInterfaceProxy. 507s # */ 507s # 507s # struct _OrgProjectUsefulInterfaceProxyPrivate 507s # { 507s # GData *qdata; 507s # }; 507s # 507s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #else 507s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 507s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 507s # 507s # #endif 507s # static void 507s # org_project_useful_interface_proxy_finalize (GObject *object) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 507s # g_datalist_clear (&proxy->priv->qdata); 507s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 507s # guint prop_id G_GNUC_UNUSED, 507s # const GValue *value G_GNUC_UNUSED, 507s # GParamSpec *pspec G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 507s # const gchar *sender_name G_GNUC_UNUSED, 507s # const gchar *signal_name, 507s # GVariant *parameters) 507s # { 507s # _ExtendedGDBusSignalInfo *info; 507s # GVariantIter iter; 507s # GVariant *child; 507s # GValue *paramv; 507s # gsize num_params; 507s # gsize n; 507s # guint signal_id; 507s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 507s # if (info == NULL) 507s # return; 507s # num_params = g_variant_n_children (parameters); 507s # paramv = g_new0 (GValue, num_params + 1); 507s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_value_set_object (¶mv[0], proxy); 507s # g_variant_iter_init (&iter, parameters); 507s # n = 1; 507s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 507s # { 507s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 507s # if (arg_info->use_gvariant) 507s # { 507s # g_value_init (¶mv[n], G_TYPE_VARIANT); 507s # g_value_set_variant (¶mv[n], child); 507s # n++; 507s # } 507s # else 507s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 507s # g_variant_unref (child); 507s # } 507s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 507s # g_signal_emitv (paramv, signal_id, 0, NULL); 507s # for (n = 0; n < num_params + 1; n++) 507s # g_value_unset (¶mv[n]); 507s # g_free (paramv); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 507s # GVariant *changed_properties, 507s # const gchar *const *invalidated_properties) 507s # { 507s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 507s # guint n; 507s # const gchar *key; 507s # GVariantIter *iter; 507s # _ExtendedGDBusPropertyInfo *info; 507s # g_variant_get (changed_properties, "a{sv}", &iter); 507s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 507s # g_datalist_remove_data (&proxy->priv->qdata, key); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # g_variant_iter_free (iter); 507s # for (n = 0; invalidated_properties[n] != NULL; n++) 507s # { 507s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 507s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 507s # if (info != NULL) 507s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 507s # } 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 507s # { 507s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 507s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 507s # #else 507s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 507s # #endif 507s # 507s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 507s # { 507s # GObjectClass *gobject_class; 507s # GDBusProxyClass *proxy_class; 507s # 507s # gobject_class = G_OBJECT_CLASS (klass); 507s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 507s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 507s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 507s # 507s # proxy_class = G_DBUS_PROXY_CLASS (klass); 507s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 507s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 507s # 507s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 507s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 507s # #endif 507s # } 507s # 507s # static void 507s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 507s # { 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_sync: 507s # * @connection: A #GDBusConnection. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_sync ( 507s # GDBusConnection *connection, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 507s # * @user_data: User data to pass to @callback. 507s # * 507s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 507s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 507s # */ 507s # void 507s # org_project_useful_interface_proxy_new_for_bus ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GAsyncReadyCallback callback, 507s # gpointer user_data) 507s # { 507s # 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); 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_finish: 507s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 507s # * @error: Return location for error or %NULL 507s # * 507s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_finish ( 507s # GAsyncResult *res, 507s # GError **error) 507s # { 507s # GObject *ret; 507s # GObject *source_object; 507s # source_object = g_async_result_get_source_object (res); 507s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 507s # g_object_unref (source_object); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # /** 507s # * org_project_useful_interface_proxy_new_for_bus_sync: 507s # * @bus_type: A #GBusType. 507s # * @flags: Flags from the #GDBusProxyFlags enumeration. 507s # * @name: A bus name (well-known or unique). 507s # * @object_path: An object path. 507s # * @cancellable: (nullable): A #GCancellable or %NULL. 507s # * @error: Return location for error or %NULL 507s # * 507s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 507s # * 507s # * The calling thread is blocked until a reply is received. 507s # * 507s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 507s # * 507s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 507s # */ 507s # OrgProjectUsefulInterface * 507s # org_project_useful_interface_proxy_new_for_bus_sync ( 507s # GBusType bus_type, 507s # GDBusProxyFlags flags, 507s # const gchar *name, 507s # const gchar *object_path, 507s # GCancellable *cancellable, 507s # GError **error) 507s # { 507s # GInitable *ret; 507s # 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); 507s # if (ret != NULL) 507s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 507s # else 507s # return NULL; 507s # } 507s # 507s # 507s # /* ------------------------------------------------------------------------ */ 507s # 507s # /** 507s # * OrgProjectUsefulInterfaceSkeleton: 507s # * 507s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 507s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_useful_interface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_useful_interface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_useful_interface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 508s # { 508s # _org_project_useful_interface_skeleton_handle_method_call, 508s # _org_project_useful_interface_skeleton_handle_get_property, 508s # _org_project_useful_interface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_useful_interface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmp3czxlom6/tmpcad2_6fy.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpcad2_6fy.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (void *data1, 508s # GDBusMethodInvocation *arg_method_invocation, 508s # void *data2); 508s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # gboolean v_return; 508s # 508s # g_return_if_fail (return_value != NULL); 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # v_return = 508s # callback (data1, 508s # g_marshal_value_peek_object (param_values + 1), 508s # data2); 508s # 508s # g_value_set_boolean (return_value, v_return); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.UsefulInterface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectUsefulInterface 508s # * @title: OrgProjectUsefulInterface 508s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 508s # { 508s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgMethodAo", 508s # NULL, 508s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 508s # NULL 508s # }, 508s # "handle-single-arg-method-ao", 508s # FALSE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 508s # { 508s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.UsefulInterface", 508s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-useful-interface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_useful_interface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_useful_interface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectUsefulInterface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * 508s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-single-arg-method-ao", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_useful_interface_method_marshal_single_arg_method_ao, 508s # G_TYPE_BOOLEAN, 508s # 1, 508s # G_TYPE_DBUS_METHOD_INVOCATION); 508s # 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_ao: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_useful_interface_call_single_arg_method_ao ( 508s # OrgProjectUsefulInterface *proxy, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "SingleArgMethodAo", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_ao_finish: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_useful_interface_call_single_arg_method_ao_finish ( 508s # OrgProjectUsefulInterface *proxy, 508s # gchar ***out_arg_ao, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(^ao)", 508s # out_arg_ao); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_ao_sync: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_useful_interface_call_single_arg_method_ao_sync ( 508s # OrgProjectUsefulInterface *proxy, 508s # gchar ***out_arg_ao, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "SingleArgMethodAo", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(^ao)", 508s # out_arg_ao); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_complete_single_arg_method_ao: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * @arg_ao: Parameter to return. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_useful_interface_complete_single_arg_method_ao ( 508s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation, 508s # const gchar *const *arg_ao) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("(^ao)", 508s # arg_ao)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxy: 508s # * 508s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 508s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 508s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeleton: 508s # * 508s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_useful_interface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_useful_interface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_useful_interface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 508s # { 508s # _org_project_useful_interface_skeleton_handle_method_call, 508s # _org_project_useful_interface_skeleton_handle_get_property, 508s # _org_project_useful_interface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_useful_interface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmp3czxlom6/tmpfvqe382t.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpfvqe382t.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (void *data1, 508s # GDBusMethodInvocation *arg_method_invocation, 508s # void *data2); 508s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # gboolean v_return; 508s # 508s # g_return_if_fail (return_value != NULL); 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # v_return = 508s # callback (data1, 508s # g_marshal_value_peek_object (param_values + 1), 508s # data2); 508s # 508s # g_value_set_boolean (return_value, v_return); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.UsefulInterface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectUsefulInterface 508s # * @title: OrgProjectUsefulInterface 508s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 508s # { 508s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgMethodAay", 508s # NULL, 508s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 508s # NULL 508s # }, 508s # "handle-single-arg-method-aay", 508s # FALSE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 508s # { 508s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.UsefulInterface", 508s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-useful-interface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_useful_interface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_useful_interface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectUsefulInterface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * 508s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-single-arg-method-aay", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_useful_interface_method_marshal_single_arg_method_aay, 508s # G_TYPE_BOOLEAN, 508s # 1, 508s # G_TYPE_DBUS_METHOD_INVOCATION); 508s # 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_aay: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_useful_interface_call_single_arg_method_aay ( 508s # OrgProjectUsefulInterface *proxy, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "SingleArgMethodAay", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_aay_finish: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_useful_interface_call_single_arg_method_aay_finish ( 508s # OrgProjectUsefulInterface *proxy, 508s # gchar ***out_arg_aay, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(^aay)", 508s # out_arg_aay); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_aay_sync: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_useful_interface_call_single_arg_method_aay_sync ( 508s # OrgProjectUsefulInterface *proxy, 508s # gchar ***out_arg_aay, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "SingleArgMethodAay", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(^aay)", 508s # out_arg_aay); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_complete_single_arg_method_aay: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * @arg_aay: Parameter to return. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_useful_interface_complete_single_arg_method_aay ( 508s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation, 508s # const gchar *const *arg_aay) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("(^aay)", 508s # arg_aay)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxy: 508s # * 508s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 508s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 508s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeleton: 508s # * 508s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_useful_interface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_useful_interface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_useful_interface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 508s # { 508s # _org_project_useful_interface_skeleton_handle_method_call, 508s # _org_project_useful_interface_skeleton_handle_get_property, 508s # _org_project_useful_interface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_useful_interface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmp3czxlom6/tmpyq2o1a8f.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3czxlom6/tmpyq2o1a8f.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (void *data1, 508s # GDBusMethodInvocation *arg_method_invocation, 508s # void *data2); 508s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # gboolean v_return; 508s # 508s # g_return_if_fail (return_value != NULL); 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # v_return = 508s # callback (data1, 508s # g_marshal_value_peek_object (param_values + 1), 508s # data2); 508s # 508s # g_value_set_boolean (return_value, v_return); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.UsefulInterface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectUsefulInterface 508s # * @title: OrgProjectUsefulInterface 508s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 508s # { 508s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgMethodAsv", 508s # NULL, 508s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 508s # NULL 508s # }, 508s # "handle-single-arg-method-asv", 508s # FALSE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 508s # { 508s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.UsefulInterface", 508s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-useful-interface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_useful_interface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_useful_interface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectUsefulInterface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * 508s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-single-arg-method-asv", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_useful_interface_method_marshal_single_arg_method_asv, 508s # G_TYPE_BOOLEAN, 508s # 1, 508s # G_TYPE_DBUS_METHOD_INVOCATION); 508s # 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_asv: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_useful_interface_call_single_arg_method_asv ( 508s # OrgProjectUsefulInterface *proxy, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "SingleArgMethodAsv", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_asv_finish: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_useful_interface_call_single_arg_method_asv_finish ( 508s # OrgProjectUsefulInterface *proxy, 508s # GVariant **out_arg_asv, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(@a{sv})", 508s # out_arg_asv); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_call_single_arg_method_asv_sync: 508s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 508s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_useful_interface_call_single_arg_method_asv_sync ( 508s # OrgProjectUsefulInterface *proxy, 508s # GVariant **out_arg_asv, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "SingleArgMethodAsv", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(@a{sv})", 508s # out_arg_asv); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_complete_single_arg_method_asv: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * @arg_asv: Parameter to return. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_useful_interface_complete_single_arg_method_asv ( 508s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation, 508s # GVariant *arg_asv) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("(@a{sv})", 508s # arg_asv)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxy: 508s # * 508s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 508s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 508s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeleton: 508s # * 508s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_useful_interface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_useful_interface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_useful_interface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 508s # { 508s # _org_project_useful_interface_skeleton_handle_method_call, 508s # _org_project_useful_interface_skeleton_handle_get_property, 508s # _org_project_useful_interface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_useful_interface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 508s # } 508s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 508s # tmpdir: /tmp/tmpre4u0eum 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpre4u0eum/tmps4hdlk7_.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpre4u0eum/tmps4hdlk7_.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 508s # (void *data1, 508s # GDBusMethodInvocation *arg_method_invocation, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # void *data2); 508s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # gboolean v_return; 508s # 508s # g_return_if_fail (return_value != NULL); 508s # g_return_if_fail (n_param_values == 20); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # v_return = 508s # callback (data1, 508s # g_marshal_value_peek_object (param_values + 1), 508s # g_marshal_value_peek_boolean (param_values + 2), 508s # g_marshal_value_peek_uchar (param_values + 3), 508s # g_marshal_value_peek_int (param_values + 4), 508s # g_marshal_value_peek_uint (param_values + 5), 508s # g_marshal_value_peek_int (param_values + 6), 508s # g_marshal_value_peek_uint (param_values + 7), 508s # g_marshal_value_peek_int64 (param_values + 8), 508s # g_marshal_value_peek_uint64 (param_values + 9), 508s # g_marshal_value_peek_double (param_values + 10), 508s # g_marshal_value_peek_string (param_values + 11), 508s # g_marshal_value_peek_string (param_values + 12), 508s # g_marshal_value_peek_string (param_values + 13), 508s # g_marshal_value_peek_variant (param_values + 14), 508s # g_marshal_value_peek_string (param_values + 15), 508s # g_marshal_value_peek_boxed (param_values + 16), 508s # g_marshal_value_peek_boxed (param_values + 17), 508s # g_marshal_value_peek_boxed (param_values + 18), 508s # g_marshal_value_peek_variant (param_values + 19), 508s # data2); 508s # 508s # g_value_set_boolean (return_value, v_return); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.CallableIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectCallableIface 508s # * @title: OrgProjectCallableIface 508s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for org.project.CallableIface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 508s # { 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 508s # { 508s # { 508s # -1, 508s # (gchar *) "MethodWithManyArgs", 508s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "handle-method-with-many-args", 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 508s # { 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SameMethodWithManyArgs", 508s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "handle-same-method-with-many-args", 508s # FALSE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 508s # { 508s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 508s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.CallableIface", 508s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-callable-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_callable_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_callable_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_callable_iface_method_marshal_method_with_many_args ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _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, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _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, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectCallableIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 508s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.CallableIface. 508s # */ 508s # 508s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * OrgProjectCallableIface::handle-method-with-many-args: 508s # * @object: A #OrgProjectCallableIface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * @arg_an_b: Argument passed by remote caller. 508s # * @arg_an_y: Argument passed by remote caller. 508s # * @arg_an_n: Argument passed by remote caller. 508s # * @arg_an_q: Argument passed by remote caller. 508s # * @arg_an_i: Argument passed by remote caller. 508s # * @arg_an_u: Argument passed by remote caller. 508s # * @arg_an_x: Argument passed by remote caller. 508s # * @arg_an_t: Argument passed by remote caller. 508s # * @arg_an_d: Argument passed by remote caller. 508s # * @arg_an_s: Argument passed by remote caller. 508s # * @arg_an_o: Argument passed by remote caller. 508s # * @arg_an_g: Argument passed by remote caller. 508s # * @arg_an_h: Argument passed by remote caller. 508s # * @arg_an_ay: Argument passed by remote caller. 508s # * @arg_an_as: Argument passed by remote caller. 508s # * @arg_an_ao: Argument passed by remote caller. 508s # * @arg_an_aay: Argument passed by remote caller. 508s # * @arg_an_asv: Argument passed by remote caller. 508s # * 508s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-method-with-many-args", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_callable_iface_method_marshal_method_with_many_args, 508s # G_TYPE_BOOLEAN, 508s # 19, 508s # 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); 508s # 508s # /** 508s # * OrgProjectCallableIface::handle-same-method-with-many-args: 508s # * @object: A #OrgProjectCallableIface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * @arg_an_b: Argument passed by remote caller. 508s # * @arg_an_y: Argument passed by remote caller. 508s # * @arg_an_n: Argument passed by remote caller. 508s # * @arg_an_q: Argument passed by remote caller. 508s # * @arg_an_i: Argument passed by remote caller. 508s # * @arg_an_u: Argument passed by remote caller. 508s # * @arg_an_x: Argument passed by remote caller. 508s # * @arg_an_t: Argument passed by remote caller. 508s # * @arg_an_d: Argument passed by remote caller. 508s # * @arg_an_s: Argument passed by remote caller. 508s # * @arg_an_o: Argument passed by remote caller. 508s # * @arg_an_g: Argument passed by remote caller. 508s # * @arg_an_h: Argument passed by remote caller. 508s # * @arg_an_ay: Argument passed by remote caller. 508s # * @arg_an_as: Argument passed by remote caller. 508s # * @arg_an_ao: Argument passed by remote caller. 508s # * @arg_an_aay: Argument passed by remote caller. 508s # * @arg_an_asv: Argument passed by remote caller. 508s # * 508s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-same-method-with-many-args", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_callable_iface_method_marshal_same_method_with_many_args, 508s # G_TYPE_BOOLEAN, 508s # 19, 508s # 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); 508s # 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_method_with_many_args: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @arg_an_b: Argument to pass with the method invocation. 508s # * @arg_an_y: Argument to pass with the method invocation. 508s # * @arg_an_n: Argument to pass with the method invocation. 508s # * @arg_an_q: Argument to pass with the method invocation. 508s # * @arg_an_i: Argument to pass with the method invocation. 508s # * @arg_an_u: Argument to pass with the method invocation. 508s # * @arg_an_x: Argument to pass with the method invocation. 508s # * @arg_an_t: Argument to pass with the method invocation. 508s # * @arg_an_d: Argument to pass with the method invocation. 508s # * @arg_an_s: Argument to pass with the method invocation. 508s # * @arg_an_o: Argument to pass with the method invocation. 508s # * @arg_an_g: Argument to pass with the method invocation. 508s # * @arg_an_h: Argument to pass with the method invocation. 508s # * @arg_an_ay: Argument to pass with the method invocation. 508s # * @arg_an_as: Argument to pass with the method invocation. 508s # * @arg_an_ao: Argument to pass with the method invocation. 508s # * @arg_an_aay: Argument to pass with the method invocation. 508s # * @arg_an_asv: Argument to pass with the method invocation. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_callable_iface_call_method_with_many_args ( 508s # OrgProjectCallableIface *proxy, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "MethodWithManyArgs", 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_method_with_many_args_finish: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_callable_iface_call_method_with_many_args_finish ( 508s # OrgProjectCallableIface *proxy, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "()"); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_method_with_many_args_sync: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @arg_an_b: Argument to pass with the method invocation. 508s # * @arg_an_y: Argument to pass with the method invocation. 508s # * @arg_an_n: Argument to pass with the method invocation. 508s # * @arg_an_q: Argument to pass with the method invocation. 508s # * @arg_an_i: Argument to pass with the method invocation. 508s # * @arg_an_u: Argument to pass with the method invocation. 508s # * @arg_an_x: Argument to pass with the method invocation. 508s # * @arg_an_t: Argument to pass with the method invocation. 508s # * @arg_an_d: Argument to pass with the method invocation. 508s # * @arg_an_s: Argument to pass with the method invocation. 508s # * @arg_an_o: Argument to pass with the method invocation. 508s # * @arg_an_g: Argument to pass with the method invocation. 508s # * @arg_an_h: Argument to pass with the method invocation. 508s # * @arg_an_ay: Argument to pass with the method invocation. 508s # * @arg_an_as: Argument to pass with the method invocation. 508s # * @arg_an_ao: Argument to pass with the method invocation. 508s # * @arg_an_aay: Argument to pass with the method invocation. 508s # * @arg_an_asv: Argument to pass with the method invocation. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_callable_iface_call_method_with_many_args_sync ( 508s # OrgProjectCallableIface *proxy, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "MethodWithManyArgs", 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "()"); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_same_method_with_many_args: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @arg_an_b: Argument to pass with the method invocation. 508s # * @arg_an_y: Argument to pass with the method invocation. 508s # * @arg_an_n: Argument to pass with the method invocation. 508s # * @arg_an_q: Argument to pass with the method invocation. 508s # * @arg_an_i: Argument to pass with the method invocation. 508s # * @arg_an_u: Argument to pass with the method invocation. 508s # * @arg_an_x: Argument to pass with the method invocation. 508s # * @arg_an_t: Argument to pass with the method invocation. 508s # * @arg_an_d: Argument to pass with the method invocation. 508s # * @arg_an_s: Argument to pass with the method invocation. 508s # * @arg_an_o: Argument to pass with the method invocation. 508s # * @arg_an_g: Argument to pass with the method invocation. 508s # * @arg_an_h: Argument to pass with the method invocation. 508s # * @arg_an_ay: Argument to pass with the method invocation. 508s # * @arg_an_as: Argument to pass with the method invocation. 508s # * @arg_an_ao: Argument to pass with the method invocation. 508s # * @arg_an_aay: Argument to pass with the method invocation. 508s # * @arg_an_asv: Argument to pass with the method invocation. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_callable_iface_call_same_method_with_many_args ( 508s # OrgProjectCallableIface *proxy, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "SameMethodWithManyArgs", 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_same_method_with_many_args_finish: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_callable_iface_call_same_method_with_many_args_finish ( 508s # OrgProjectCallableIface *proxy, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "()"); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_same_method_with_many_args_sync: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @arg_an_b: Argument to pass with the method invocation. 508s # * @arg_an_y: Argument to pass with the method invocation. 508s # * @arg_an_n: Argument to pass with the method invocation. 508s # * @arg_an_q: Argument to pass with the method invocation. 508s # * @arg_an_i: Argument to pass with the method invocation. 508s # * @arg_an_u: Argument to pass with the method invocation. 508s # * @arg_an_x: Argument to pass with the method invocation. 508s # * @arg_an_t: Argument to pass with the method invocation. 508s # * @arg_an_d: Argument to pass with the method invocation. 508s # * @arg_an_s: Argument to pass with the method invocation. 508s # * @arg_an_o: Argument to pass with the method invocation. 508s # * @arg_an_g: Argument to pass with the method invocation. 508s # * @arg_an_h: Argument to pass with the method invocation. 508s # * @arg_an_ay: Argument to pass with the method invocation. 508s # * @arg_an_as: Argument to pass with the method invocation. 508s # * @arg_an_ao: Argument to pass with the method invocation. 508s # * @arg_an_aay: Argument to pass with the method invocation. 508s # * @arg_an_asv: Argument to pass with the method invocation. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_callable_iface_call_same_method_with_many_args_sync ( 508s # OrgProjectCallableIface *proxy, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "SameMethodWithManyArgs", 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "()"); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_complete_method_with_many_args: 508s # * @object: A #OrgProjectCallableIface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_callable_iface_complete_method_with_many_args ( 508s # OrgProjectCallableIface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("()")); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_complete_same_method_with_many_args: 508s # * @object: A #OrgProjectCallableIface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_callable_iface_complete_same_method_with_many_args ( 508s # OrgProjectCallableIface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("()")); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceProxy: 508s # * 508s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectCallableIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectCallableIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_callable_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_callable_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_callable_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceSkeleton: 508s # * 508s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectCallableIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectCallableIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_callable_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_callable_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_callable_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 508s # { 508s # _org_project_callable_iface_skeleton_handle_method_call, 508s # _org_project_callable_iface_skeleton_handle_get_property, 508s # _org_project_callable_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_callable_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_callable_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.OtherCallableIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectOtherCallableIface 508s # * @title: OrgProjectOtherCallableIface 508s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 508s # { 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 508s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 508s # { 508s # { 508s # -1, 508s # (gchar *) "MethodWithManyArgs", 508s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "handle-method-with-many-args", 508s # FALSE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 508s # { 508s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.OtherCallableIface", 508s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-other-callable-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_other_callable_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_other_callable_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _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, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectOtherCallableIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherCallableIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 508s # */ 508s # 508s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 508s # * @object: A #OrgProjectOtherCallableIface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * @arg_an_b: Argument passed by remote caller. 508s # * @arg_an_y: Argument passed by remote caller. 508s # * @arg_an_n: Argument passed by remote caller. 508s # * @arg_an_q: Argument passed by remote caller. 508s # * @arg_an_i: Argument passed by remote caller. 508s # * @arg_an_u: Argument passed by remote caller. 508s # * @arg_an_x: Argument passed by remote caller. 508s # * @arg_an_t: Argument passed by remote caller. 508s # * @arg_an_d: Argument passed by remote caller. 508s # * @arg_an_s: Argument passed by remote caller. 508s # * @arg_an_o: Argument passed by remote caller. 508s # * @arg_an_g: Argument passed by remote caller. 508s # * @arg_an_h: Argument passed by remote caller. 508s # * @arg_an_ay: Argument passed by remote caller. 508s # * @arg_an_as: Argument passed by remote caller. 508s # * @arg_an_ao: Argument passed by remote caller. 508s # * @arg_an_aay: Argument passed by remote caller. 508s # * @arg_an_asv: Argument passed by remote caller. 508s # * 508s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-method-with-many-args", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_other_callable_iface_method_marshal_method_with_many_args, 508s # G_TYPE_BOOLEAN, 508s # 19, 508s # 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); 508s # 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_call_method_with_many_args: 508s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 508s # * @arg_an_b: Argument to pass with the method invocation. 508s # * @arg_an_y: Argument to pass with the method invocation. 508s # * @arg_an_n: Argument to pass with the method invocation. 508s # * @arg_an_q: Argument to pass with the method invocation. 508s # * @arg_an_i: Argument to pass with the method invocation. 508s # * @arg_an_u: Argument to pass with the method invocation. 508s # * @arg_an_x: Argument to pass with the method invocation. 508s # * @arg_an_t: Argument to pass with the method invocation. 508s # * @arg_an_d: Argument to pass with the method invocation. 508s # * @arg_an_s: Argument to pass with the method invocation. 508s # * @arg_an_o: Argument to pass with the method invocation. 508s # * @arg_an_g: Argument to pass with the method invocation. 508s # * @arg_an_h: Argument to pass with the method invocation. 508s # * @arg_an_ay: Argument to pass with the method invocation. 508s # * @arg_an_as: Argument to pass with the method invocation. 508s # * @arg_an_ao: Argument to pass with the method invocation. 508s # * @arg_an_aay: Argument to pass with the method invocation. 508s # * @arg_an_asv: Argument to pass with the method invocation. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_other_callable_iface_call_method_with_many_args ( 508s # OrgProjectOtherCallableIface *proxy, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "MethodWithManyArgs", 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_call_method_with_many_args_finish: 508s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_other_callable_iface_call_method_with_many_args_finish ( 508s # OrgProjectOtherCallableIface *proxy, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "()"); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_call_method_with_many_args_sync: 508s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 508s # * @arg_an_b: Argument to pass with the method invocation. 508s # * @arg_an_y: Argument to pass with the method invocation. 508s # * @arg_an_n: Argument to pass with the method invocation. 508s # * @arg_an_q: Argument to pass with the method invocation. 508s # * @arg_an_i: Argument to pass with the method invocation. 508s # * @arg_an_u: Argument to pass with the method invocation. 508s # * @arg_an_x: Argument to pass with the method invocation. 508s # * @arg_an_t: Argument to pass with the method invocation. 508s # * @arg_an_d: Argument to pass with the method invocation. 508s # * @arg_an_s: Argument to pass with the method invocation. 508s # * @arg_an_o: Argument to pass with the method invocation. 508s # * @arg_an_g: Argument to pass with the method invocation. 508s # * @arg_an_h: Argument to pass with the method invocation. 508s # * @arg_an_ay: Argument to pass with the method invocation. 508s # * @arg_an_as: Argument to pass with the method invocation. 508s # * @arg_an_ao: Argument to pass with the method invocation. 508s # * @arg_an_aay: Argument to pass with the method invocation. 508s # * @arg_an_asv: Argument to pass with the method invocation. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_other_callable_iface_call_method_with_many_args_sync ( 508s # OrgProjectOtherCallableIface *proxy, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "MethodWithManyArgs", 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "()"); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_complete_method_with_many_args: 508s # * @object: A #OrgProjectOtherCallableIface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_other_callable_iface_complete_method_with_many_args ( 508s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("()")); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectOtherCallableIfaceProxy: 508s # * 508s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherCallableIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectOtherCallableIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_other_callable_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_other_callable_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherCallableIface * 508s # org_project_other_callable_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherCallableIface * 508s # org_project_other_callable_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_other_callable_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_other_callable_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherCallableIface * 508s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherCallableIface * 508s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectOtherCallableIfaceSkeleton: 508s # * 508s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherCallableIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_other_callable_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_other_callable_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_other_callable_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 508s # { 508s # _org_project_other_callable_iface_skeleton_handle_method_call, 508s # _org_project_other_callable_iface_skeleton_handle_get_property, 508s # _org_project_other_callable_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_other_callable_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_other_callable_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectOtherCallableIface * 508s # org_project_other_callable_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 508s # } 508s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 508s # tmpdir: /tmp/tmpoqlk0ug5 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpoqlk0ug5/tmptm2qf6oe.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoqlk0ug5/tmptm2qf6oe.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (void *data1, 508s # GDBusMethodInvocation *arg_method_invocation, 508s # void *data2); 508s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # gboolean v_return; 508s # 508s # g_return_if_fail (return_value != NULL); 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # v_return = 508s # callback (data1, 508s # g_marshal_value_peek_object (param_values + 1), 508s # data2); 508s # 508s # g_value_set_boolean (return_value, v_return); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.CallableIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectCallableIface 508s # * @title: OrgProjectCallableIface 508s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for org.project.CallableIface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 508s # { 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 508s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 508s # { 508s # { 508s # -1, 508s # (gchar *) "MethodWithManyArgs", 508s # NULL, 508s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 508s # NULL 508s # }, 508s # "handle-method-with-many-args", 508s # FALSE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 508s # { 508s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.CallableIface", 508s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-callable-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_callable_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_callable_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_callable_iface_method_marshal_method_with_many_args ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectCallableIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.CallableIface. 508s # */ 508s # 508s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * OrgProjectCallableIface::handle-method-with-many-args: 508s # * @object: A #OrgProjectCallableIface. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * 508s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-method-with-many-args", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # org_project_callable_iface_method_marshal_method_with_many_args, 508s # G_TYPE_BOOLEAN, 508s # 1, 508s # G_TYPE_DBUS_METHOD_INVOCATION); 508s # 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_method_with_many_args: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # org_project_callable_iface_call_method_with_many_args ( 508s # OrgProjectCallableIface *proxy, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 508s # "MethodWithManyArgs", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_method_with_many_args_finish: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_callable_iface_call_method_with_many_args_finish ( 508s # OrgProjectCallableIface *proxy, 508s # gboolean *out_an_b, 508s # guchar *out_an_y, 508s # gint16 *out_an_n, 508s # guint16 *out_an_q, 508s # gint *out_an_i, 508s # guint *out_an_u, 508s # gint64 *out_an_x, 508s # guint64 *out_an_t, 508s # gdouble *out_an_d, 508s # gchar **out_an_s, 508s # gchar **out_an_o, 508s # gchar **out_an_g, 508s # GVariant **out_an_h, 508s # gchar **out_an_ay, 508s # gchar ***out_an_as, 508s # gchar ***out_an_ao, 508s # gchar ***out_an_aay, 508s # GVariant **out_an_asv, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # out_an_b, 508s # out_an_y, 508s # out_an_n, 508s # out_an_q, 508s # out_an_i, 508s # out_an_u, 508s # out_an_x, 508s # out_an_t, 508s # out_an_d, 508s # out_an_s, 508s # out_an_o, 508s # out_an_g, 508s # out_an_h, 508s # out_an_ay, 508s # out_an_as, 508s # out_an_ao, 508s # out_an_aay, 508s # out_an_asv); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_call_method_with_many_args_sync: 508s # * @proxy: A #OrgProjectCallableIfaceProxy. 508s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 508s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # org_project_callable_iface_call_method_with_many_args_sync ( 508s # OrgProjectCallableIface *proxy, 508s # gboolean *out_an_b, 508s # guchar *out_an_y, 508s # gint16 *out_an_n, 508s # guint16 *out_an_q, 508s # gint *out_an_i, 508s # guint *out_an_u, 508s # gint64 *out_an_x, 508s # guint64 *out_an_t, 508s # gdouble *out_an_d, 508s # gchar **out_an_s, 508s # gchar **out_an_o, 508s # gchar **out_an_g, 508s # GVariant **out_an_h, 508s # gchar **out_an_ay, 508s # gchar ***out_an_as, 508s # gchar ***out_an_ao, 508s # gchar ***out_an_aay, 508s # GVariant **out_an_asv, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 508s # "MethodWithManyArgs", 508s # g_variant_new ("()"), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # out_an_b, 508s # out_an_y, 508s # out_an_n, 508s # out_an_q, 508s # out_an_i, 508s # out_an_u, 508s # out_an_x, 508s # out_an_t, 508s # out_an_d, 508s # out_an_s, 508s # out_an_o, 508s # out_an_g, 508s # out_an_h, 508s # out_an_ay, 508s # out_an_as, 508s # out_an_ao, 508s # out_an_aay, 508s # out_an_asv); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_complete_method_with_many_args: 508s # * @object: A #OrgProjectCallableIface. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * @an_b: Parameter to return. 508s # * @an_y: Parameter to return. 508s # * @an_n: Parameter to return. 508s # * @an_q: Parameter to return. 508s # * @an_i: Parameter to return. 508s # * @an_u: Parameter to return. 508s # * @an_x: Parameter to return. 508s # * @an_t: Parameter to return. 508s # * @an_d: Parameter to return. 508s # * @an_s: Parameter to return. 508s # * @an_o: Parameter to return. 508s # * @an_g: Parameter to return. 508s # * @an_h: Parameter to return. 508s # * @an_ay: Parameter to return. 508s # * @an_as: Parameter to return. 508s # * @an_ao: Parameter to return. 508s # * @an_aay: Parameter to return. 508s # * @an_asv: Parameter to return. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # org_project_callable_iface_complete_method_with_many_args ( 508s # OrgProjectCallableIface *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation, 508s # gboolean an_b, 508s # guchar an_y, 508s # gint16 an_n, 508s # guint16 an_q, 508s # gint an_i, 508s # guint an_u, 508s # gint64 an_x, 508s # guint64 an_t, 508s # gdouble an_d, 508s # const gchar *an_s, 508s # const gchar *an_o, 508s # const gchar *an_g, 508s # GVariant *an_h, 508s # const gchar *an_ay, 508s # const gchar *const *an_as, 508s # const gchar *const *an_ao, 508s # const gchar *const *an_aay, 508s # GVariant *an_asv) 508s # { 508s # g_dbus_method_invocation_return_value (invocation, 508s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # an_b, 508s # an_y, 508s # an_n, 508s # an_q, 508s # an_i, 508s # an_u, 508s # an_x, 508s # an_t, 508s # an_d, 508s # an_s, 508s # an_o, 508s # an_g, 508s # an_h, 508s # an_ay, 508s # an_as, 508s # an_ao, 508s # an_aay, 508s # an_asv)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceProxy: 508s # * 508s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectCallableIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectCallableIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_callable_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_callable_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_callable_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_CALLABLE_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceSkeleton: 508s # * 508s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectCallableIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectCallableIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectCallableIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_callable_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_callable_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_callable_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 508s # { 508s # _org_project_callable_iface_skeleton_handle_method_call, 508s # _org_project_callable_iface_skeleton_handle_get_property, 508s # _org_project_callable_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_callable_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_callable_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_callable_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectCallableIface * 508s # org_project_callable_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 508s # } 508s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 508s # tmpdir: /tmp/tmp84bamsdn 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp84bamsdn/tmpev22fwyh.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp84bamsdn/tmpev22fwyh.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 508s # (void *data1, 508s # GUnixFDList *arg_fd_list, 508s # GDBusMethodInvocation *arg_method_invocation, 508s # const gchar *arg_greeting, 508s # void *data2); 508s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # gboolean v_return; 508s # 508s # g_return_if_fail (return_value != NULL); 508s # g_return_if_fail (n_param_values == 4); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # v_return = 508s # callback (data1, 508s # g_marshal_value_peek_object (param_values + 1), 508s # g_marshal_value_peek_object (param_values + 2), 508s # g_marshal_value_peek_string (param_values + 3), 508s # data2); 508s # 508s # g_value_set_boolean (return_value, v_return); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface test.FDPassing 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:TestFDPassing 508s # * @title: TestFDPassing 508s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 508s # * 508s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 508s # */ 508s # 508s # /* ---- Introspection data for test.FDPassing ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 508s # { 508s # { 508s # -1, 508s # (gchar *) "greeting", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 508s # { 508s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 508s # { 508s # { 508s # -1, 508s # (gchar *) "response", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 508s # { 508s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 508s # { 508s # { 508s # -1, 508s # (gchar *) "HelloFD", 508s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 508s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 508s # NULL 508s # }, 508s # "handle-hello-fd", 508s # TRUE 508s # }; 508s # 508s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 508s # { 508s # &_test_fdpassing_method_info_hello_fd.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "test.FDPassing", 508s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 508s # NULL, 508s # NULL, 508s # NULL 508s # }, 508s # "test-fdpassing", 508s # }; 508s # 508s # 508s # /** 508s # * test_fdpassing_interface_info: 508s # * 508s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # test_fdpassing_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * test_fdpassing_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # test_fdpassing_method_marshal_hello_fd ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * TestFDPassing: 508s # * 508s # * Abstract interface type for the D-Bus interface test.FDPassing. 508s # */ 508s # 508s # /** 508s # * TestFDPassingIface: 508s # * @parent_iface: The parent interface. 508s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 508s # * 508s # * Virtual table for the D-Bus interface test.FDPassing. 508s # */ 508s # 508s # typedef TestFDPassingIface TestFDPassingInterface; 508s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 508s # 508s # static void 508s # test_fdpassing_default_init (TestFDPassingIface *iface) 508s # { 508s # /* GObject signals for incoming D-Bus method calls: */ 508s # /** 508s # * TestFDPassing::handle-hello-fd: 508s # * @object: A #TestFDPassing. 508s # * @invocation: A #GDBusMethodInvocation. 508s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 508s # * @arg_greeting: Argument passed by remote caller. 508s # * 508s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 508s # * 508s # * 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. 508s # * 508s # * 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. 508s # */ 508s # g_signal_new ("handle-hello-fd", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 508s # g_signal_accumulator_true_handled, 508s # NULL, 508s # test_fdpassing_method_marshal_hello_fd, 508s # G_TYPE_BOOLEAN, 508s # 3, 508s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 508s # 508s # } 508s # 508s # /** 508s # * test_fdpassing_call_hello_fd: 508s # * @proxy: A #TestFDPassingProxy. 508s # * @arg_greeting: Argument to pass with the method invocation. 508s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 508s # * 508s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 508s # */ 508s # void 508s # test_fdpassing_call_hello_fd ( 508s # TestFDPassing *proxy, 508s # const gchar *arg_greeting, 508s # GUnixFDList *fd_list, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 508s # "HelloFD", 508s # g_variant_new ("(s)", 508s # arg_greeting), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # fd_list, 508s # cancellable, 508s # callback, 508s # user_data); 508s # } 508s # 508s # /** 508s # * test_fdpassing_call_hello_fd_finish: 508s # * @proxy: A #TestFDPassingProxy. 508s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # test_fdpassing_call_hello_fd_finish ( 508s # TestFDPassing *proxy, 508s # gchar **out_response, 508s # GUnixFDList **out_fd_list, 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(s)", 508s # out_response); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * test_fdpassing_call_hello_fd_sync: 508s # * @proxy: A #TestFDPassingProxy. 508s # * @arg_greeting: Argument to pass with the method invocation. 508s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 508s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 508s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL. 508s # * 508s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 508s # * 508s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 508s # * 508s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 508s # */ 508s # gboolean 508s # test_fdpassing_call_hello_fd_sync ( 508s # TestFDPassing *proxy, 508s # const gchar *arg_greeting, 508s # GUnixFDList *fd_list, 508s # gchar **out_response, 508s # GUnixFDList **out_fd_list, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GVariant *_ret; 508s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 508s # "HelloFD", 508s # g_variant_new ("(s)", 508s # arg_greeting), 508s # G_DBUS_CALL_FLAGS_NONE, 508s # -1, 508s # fd_list, 508s # out_fd_list, 508s # cancellable, 508s # error); 508s # if (_ret == NULL) 508s # goto _out; 508s # g_variant_get (_ret, 508s # "(s)", 508s # out_response); 508s # g_variant_unref (_ret); 508s # _out: 508s # return _ret != NULL; 508s # } 508s # 508s # /** 508s # * test_fdpassing_complete_hello_fd: 508s # * @object: A #TestFDPassing. 508s # * @invocation: (transfer full): A #GDBusMethodInvocation. 508s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 508s # * @response: Parameter to return. 508s # * 508s # * 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. 508s # * 508s # * This method will free @invocation, you cannot use it afterwards. 508s # */ 508s # void 508s # test_fdpassing_complete_hello_fd ( 508s # TestFDPassing *object G_GNUC_UNUSED, 508s # GDBusMethodInvocation *invocation, 508s # GUnixFDList *fd_list, 508s # const gchar *response) 508s # { 508s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 508s # g_variant_new ("(s)", 508s # response), 508s # fd_list); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * TestFDPassingProxy: 508s # * 508s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * TestFDPassingProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #TestFDPassingProxy. 508s # */ 508s # 508s # struct _TestFDPassingProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (TestFDPassingProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # test_fdpassing_proxy_finalize (GObject *object) 508s # { 508s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = test_fdpassing_proxy_finalize; 508s # gobject_class->get_property = test_fdpassing_proxy_get_property; 508s # gobject_class->set_property = test_fdpassing_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 508s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * test_fdpassing_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # test_fdpassing_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * test_fdpassing_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with test_fdpassing_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # TestFDPassing * 508s # test_fdpassing_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return TEST_FDPASSING (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * test_fdpassing_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # TestFDPassing * 508s # test_fdpassing_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return TEST_FDPASSING (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * test_fdpassing_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # test_fdpassing_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * test_fdpassing_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # TestFDPassing * 508s # test_fdpassing_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return TEST_FDPASSING (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * test_fdpassing_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # TestFDPassing * 508s # test_fdpassing_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return TEST_FDPASSING (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * TestFDPassingSkeleton: 508s # * 508s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * TestFDPassingSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #TestFDPassingSkeleton. 508s # */ 508s # 508s # struct _TestFDPassingSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _test_fdpassing_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _test_fdpassing_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _test_fdpassing_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 508s # { 508s # _test_fdpassing_skeleton_handle_method_call, 508s # _test_fdpassing_skeleton_handle_get_property, 508s # _test_fdpassing_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return test_fdpassing_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (TestFDPassingSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # test_fdpassing_skeleton_finalize (GObject *object) 508s # { 508s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * test_fdpassing_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 508s # * 508s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 508s # */ 508s # TestFDPassing * 508s # test_fdpassing_skeleton_new (void) 508s # { 508s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 508s # } 508s ok 15 __main__.TestCodegen.test_generate_rst 508s # tmpdir: /tmp/tmpa2l8k0ly 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpa2l8k0ly/tmp_36op0vl.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa2l8k0ly/tmp_36op0vl.xml', '--generate-rst', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s ok 16 __main__.TestCodegen.test_generate_rst_method 508s # tmpdir: /tmp/tmpcic_2nua 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpcic_2nua/tmph7776chx.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcic_2nua/tmph7776chx.xml', '--generate-rst', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s ok 17 __main__.TestCodegen.test_generate_rst_property 508s # tmpdir: /tmp/tmpfubfaooj 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpfubfaooj/tmpuze8c65w.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfubfaooj/tmpuze8c65w.xml', '--generate-rst', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s ok 18 __main__.TestCodegen.test_generate_rst_signal 508s # tmpdir: /tmp/tmpq7yjlbr5 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpq7yjlbr5/tmpogk5wajs.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq7yjlbr5/tmpogk5wajs.xml', '--generate-rst', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 508s # tmpdir: /tmp/tmpct26c6_6 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpct26c6_6/tmp6pijthly.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpct26c6_6/tmp6pijthly.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 508s # GClosure *closure, 508s # GValue *return_value G_GNUC_UNUSED, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 508s # (void *data1, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # void *data2); 508s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # 508s # g_return_if_fail (n_param_values == 19); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # callback (data1, 508s # g_marshal_value_peek_boolean (param_values + 1), 508s # g_marshal_value_peek_uchar (param_values + 2), 508s # g_marshal_value_peek_int (param_values + 3), 508s # g_marshal_value_peek_uint (param_values + 4), 508s # g_marshal_value_peek_int (param_values + 5), 508s # g_marshal_value_peek_uint (param_values + 6), 508s # g_marshal_value_peek_int64 (param_values + 7), 508s # g_marshal_value_peek_uint64 (param_values + 8), 508s # g_marshal_value_peek_double (param_values + 9), 508s # g_marshal_value_peek_string (param_values + 10), 508s # g_marshal_value_peek_string (param_values + 11), 508s # g_marshal_value_peek_string (param_values + 12), 508s # g_marshal_value_peek_variant (param_values + 13), 508s # g_marshal_value_peek_string (param_values + 14), 508s # g_marshal_value_peek_boxed (param_values + 15), 508s # g_marshal_value_peek_boxed (param_values + 16), 508s # g_marshal_value_peek_boxed (param_values + 17), 508s # g_marshal_value_peek_variant (param_values + 18), 508s # data2); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SignalWithManyArgs", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 508s # NULL 508s # }, 508s # "signal-with-many-args" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::signal-with-many-args: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_b: Argument. 508s # * @arg_an_y: Argument. 508s # * @arg_an_n: Argument. 508s # * @arg_an_q: Argument. 508s # * @arg_an_i: Argument. 508s # * @arg_an_u: Argument. 508s # * @arg_an_x: Argument. 508s # * @arg_an_t: Argument. 508s # * @arg_an_d: Argument. 508s # * @arg_an_s: Argument. 508s # * @arg_an_o: Argument. 508s # * @arg_an_g: Argument. 508s # * @arg_an_h: Argument. 508s # * @arg_an_ay: Argument. 508s # * @arg_an_as: Argument. 508s # * @arg_an_ao: Argument. 508s # * @arg_an_aay: Argument. 508s # * @arg_an_asv: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 508s # g_signal_new ("signal-with-many-args", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 508s # G_TYPE_NONE, 508s # 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); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_signal_with_many_args: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_b: Argument to pass with the signal. 508s # * @arg_an_y: Argument to pass with the signal. 508s # * @arg_an_n: Argument to pass with the signal. 508s # * @arg_an_q: Argument to pass with the signal. 508s # * @arg_an_i: Argument to pass with the signal. 508s # * @arg_an_u: Argument to pass with the signal. 508s # * @arg_an_x: Argument to pass with the signal. 508s # * @arg_an_t: Argument to pass with the signal. 508s # * @arg_an_d: Argument to pass with the signal. 508s # * @arg_an_s: Argument to pass with the signal. 508s # * @arg_an_o: Argument to pass with the signal. 508s # * @arg_an_g: Argument to pass with the signal. 508s # * @arg_an_h: Argument to pass with the signal. 508s # * @arg_an_ay: Argument to pass with the signal. 508s # * @arg_an_as: Argument to pass with the signal. 508s # * @arg_an_ao: Argument to pass with the signal. 508s # * @arg_an_aay: Argument to pass with the signal. 508s # * @arg_an_asv: Argument to pass with the signal. 508s # * 508s # * Emits the "SignalWithManyArgs" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_signal_with_many_args ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv) 508s # { 508s # 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); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 508s # tmpdir: /tmp/tmpb3uah6wv 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpb3uah6wv/tmpbwqua200.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb3uah6wv/tmpbwqua200.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_VOID__INT64 ( 508s # GClosure *closure, 508s # GValue *return_value G_GNUC_UNUSED, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 508s # (void *data1, 508s # gint64 arg_an_x, 508s # void *data2); 508s # _GDbusCodegenMarshalVoid_Int64Func callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # callback (data1, 508s # g_marshal_value_peek_int64 (param_values + 1), 508s # data2); 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_VOID__UINT64 ( 508s # GClosure *closure, 508s # GValue *return_value G_GNUC_UNUSED, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 508s # (void *data1, 508s # guint64 arg_an_t, 508s # void *data2); 508s # _GDbusCodegenMarshalVoid_Uint64Func callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # callback (data1, 508s # g_marshal_value_peek_uint64 (param_values + 1), 508s # data2); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "NoArgSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "no-arg-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalB", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-b" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalY", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-y" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalN", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-n" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalQ", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-q" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalI", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-i" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalU", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-u" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalX", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-x" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalT", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-t" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalD", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-d" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalS", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-s" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalO", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-o" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalG", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-g" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalH", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-h" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAY", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-ay" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAS", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-as" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAO", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-ao" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAAY", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-aay" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalASV", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-asv" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOOLEAN (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__UCHAR (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__INT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__UINT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__INT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__UINT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__DOUBLE (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VARIANT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOXED (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOXED (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOXED (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VARIANT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 508s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 508s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 508s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 508s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 508s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 508s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 508s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 508s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 508s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 508s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 508s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 508s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 508s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 508s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 508s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 508s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 508s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 508s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::no-arg-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 508s # g_signal_new ("no-arg-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_no_arg_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-b: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_b: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 508s # g_signal_new ("single-arg-signal-b", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_BOOLEAN); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-y: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_y: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 508s # g_signal_new ("single-arg-signal-y", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UCHAR); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-n: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_n: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 508s # g_signal_new ("single-arg-signal-n", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_INT); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-q: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_q: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 508s # g_signal_new ("single-arg-signal-q", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UINT); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-i: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_i: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 508s # g_signal_new ("single-arg-signal-i", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_INT); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-u: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_u: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 508s # g_signal_new ("single-arg-signal-u", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UINT); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-x: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_x: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 508s # g_signal_new ("single-arg-signal-x", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_INT64); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-t: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_t: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 508s # g_signal_new ("single-arg-signal-t", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UINT64); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-d: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_d: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 508s # g_signal_new ("single-arg-signal-d", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_DOUBLE); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-s: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_s: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 508s # g_signal_new ("single-arg-signal-s", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-o: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_o: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 508s # g_signal_new ("single-arg-signal-o", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-g: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_g: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 508s # g_signal_new ("single-arg-signal-g", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-h: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_h: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 508s # g_signal_new ("single-arg-signal-h", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_VARIANT); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-ay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_ay: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 508s # g_signal_new ("single-arg-signal-ay", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-as: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_as: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 508s # g_signal_new ("single-arg-signal-as", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRV); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-ao: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_ao: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 508s # g_signal_new ("single-arg-signal-ao", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRV); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-aay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_aay: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 508s # g_signal_new ("single-arg-signal-aay", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRV); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-asv: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_asv: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 508s # g_signal_new ("single-arg-signal-asv", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_VARIANT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_no_arg_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "NoArgSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_no_arg_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_b: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_b: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalB" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_b ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_an_b) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_y: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_y: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalY" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_y ( 508s # OrgProjectSignalingIface *object, 508s # guchar arg_an_y) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_n: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_n: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalN" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_n ( 508s # OrgProjectSignalingIface *object, 508s # gint16 arg_an_n) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_q: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_q: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalQ" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_q ( 508s # OrgProjectSignalingIface *object, 508s # guint16 arg_an_q) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_i: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_i: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalI" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_i ( 508s # OrgProjectSignalingIface *object, 508s # gint arg_an_i) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_u: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_u: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalU" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_u ( 508s # OrgProjectSignalingIface *object, 508s # guint arg_an_u) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_x: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_x: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalX" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_x ( 508s # OrgProjectSignalingIface *object, 508s # gint64 arg_an_x) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_t: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_t: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalT" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_t ( 508s # OrgProjectSignalingIface *object, 508s # guint64 arg_an_t) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_d: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_d: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalD" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_d ( 508s # OrgProjectSignalingIface *object, 508s # gdouble arg_an_d) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_s: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_s: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalS" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_s ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_s) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_o: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_o: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalO" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_o ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_o) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_g: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_g: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalG" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_g ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_g) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_h: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_h: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalH" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_h ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_an_h) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_ay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_ay: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAY" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_ay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_ay) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_as: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_as: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAS" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_as ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_an_as) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_ao: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_ao: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAO" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_ao ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_an_ao) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_aay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_aay: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAAY" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_aay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_an_aay) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_asv: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_asv: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalASV" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_asv ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_an_asv) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_no_arg_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_an_b) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 508s # arg_an_b)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 508s # OrgProjectSignalingIface *object, 508s # guchar arg_an_y) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 508s # arg_an_y)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 508s # OrgProjectSignalingIface *object, 508s # gint16 arg_an_n) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 508s # arg_an_n)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 508s # OrgProjectSignalingIface *object, 508s # guint16 arg_an_q) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 508s # arg_an_q)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 508s # OrgProjectSignalingIface *object, 508s # gint arg_an_i) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 508s # arg_an_i)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 508s # OrgProjectSignalingIface *object, 508s # guint arg_an_u) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 508s # arg_an_u)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 508s # OrgProjectSignalingIface *object, 508s # gint64 arg_an_x) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 508s # arg_an_x)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 508s # OrgProjectSignalingIface *object, 508s # guint64 arg_an_t) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 508s # arg_an_t)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 508s # OrgProjectSignalingIface *object, 508s # gdouble arg_an_d) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 508s # arg_an_d)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_s) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 508s # arg_an_s)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_o) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 508s # arg_an_o)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_g) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 508s # arg_an_g)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_an_h) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 508s # arg_an_h)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_an_ay) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 508s # arg_an_ay)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_an_as) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 508s # arg_an_as)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_an_ao) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 508s # arg_an_ao)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_an_aay) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 508s # arg_an_aay)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_an_asv) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 508s # arg_an_asv)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 508s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 508s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 508s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 508s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 508s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 508s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 508s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 508s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 508s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 508s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 508s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 508s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 508s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 508s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 508s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 508s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 508s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 508s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 508s # tmpdir: /tmp/tmpfpn372re 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpfpn372re/tmpe943c64w.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfpn372re/tmpe943c64w.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.UsefulInterface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectUsefulInterface 508s # * @title: OrgProjectUsefulInterface 508s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 508s # { 508s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.UsefulInterface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-useful-interface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_useful_interface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_useful_interface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_useful_interface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectUsefulInterface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 508s # */ 508s # 508s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectUsefulInterface::simple-signal: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_useful_interface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_emit_simple_signal: 508s # * @object: A #OrgProjectUsefulInterface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_useful_interface_emit_simple_signal ( 508s # OrgProjectUsefulInterface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxy: 508s # * 508s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 508s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 508s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_useful_interface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeleton: 508s # * 508s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectUsefulInterfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_useful_interface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_useful_interface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_useful_interface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 508s # { 508s # _org_project_useful_interface_skeleton_handle_method_call, 508s # _org_project_useful_interface_skeleton_handle_get_property, 508s # _org_project_useful_interface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_useful_interface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_useful_interface_on_signal_simple_signal ( 508s # OrgProjectUsefulInterface *object) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_useful_interface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 508s # } 508s # 508s # /** 508s # * org_project_useful_interface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectUsefulInterface * 508s # org_project_useful_interface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.OtherIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectOtherIface 508s # * @title: OrgProjectOtherIface 508s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.OtherIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.OtherIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-other-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_other_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_other_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_other_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_other_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectOtherIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.OtherIface. 508s # */ 508s # 508s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectOtherIface::simple-signal: 508s # * @object: A #OrgProjectOtherIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_other_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # } 508s # 508s # /** 508s # * org_project_other_iface_emit_simple_signal: 508s # * @object: A #OrgProjectOtherIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_other_iface_emit_simple_signal ( 508s # OrgProjectOtherIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectOtherIfaceProxy: 508s # * 508s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectOtherIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectOtherIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_other_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_other_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_other_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_other_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_other_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherIface * 508s # org_project_other_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherIface * 508s # org_project_other_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_other_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_other_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_other_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherIface * 508s # org_project_other_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherIface * 508s # org_project_other_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectOtherIfaceSkeleton: 508s # * 508s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectOtherIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectOtherIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_other_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_other_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_other_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 508s # { 508s # _org_project_other_iface_skeleton_handle_method_call, 508s # _org_project_other_iface_skeleton_handle_get_property, 508s # _org_project_other_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_other_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_other_iface_on_signal_simple_signal ( 508s # OrgProjectOtherIface *object) 508s # { 508s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_other_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 508s # } 508s # 508s # /** 508s # * org_project_other_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectOtherIface * 508s # org_project_other_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 508s # } 508s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 508s # tmpdir: /tmp/tmpyio4v8rk 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpyio4v8rk/tmpiv6hq3rq.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyio4v8rk/tmpiv6hq3rq.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.OtherSignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectOtherSignalingIface 508s # * @title: OrgProjectOtherSignalingIface 508s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.OtherSignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-other-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_other_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_other_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectOtherSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 508s # */ 508s # 508s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectOtherSignalingIface::simple-signal: 508s # * @object: A #OrgProjectOtherSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_other_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectOtherSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_other_signaling_iface_emit_simple_signal ( 508s # OrgProjectOtherSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectOtherSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_other_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherSignalingIface * 508s # org_project_other_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherSignalingIface * 508s # org_project_other_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_other_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_other_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherSignalingIface * 508s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectOtherSignalingIface * 508s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectOtherSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectOtherSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_other_signaling_iface_skeleton_handle_method_call, 508s # _org_project_other_signaling_iface_skeleton_handle_get_property, 508s # _org_project_other_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_other_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_other_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectOtherSignalingIface *object) 508s # { 508s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 508s # } 508s # 508s # /** 508s # * org_project_other_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectOtherSignalingIface * 508s # org_project_other_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 508s # tmpdir: /tmp/tmpmeurpwj6 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpmeurpwj6/tmp0ndo0zd5.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmp0ndo0zd5.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalB", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-b" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOOLEAN (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-b: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_b: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 508s # g_signal_new ("single-arg-signal-b", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_BOOLEAN); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_b: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_b: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalB" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_b ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_arg_b) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_arg_b) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 508s # arg_arg_b)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpp78sp1bl.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpp78sp1bl.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalY", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-y" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__UCHAR (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-y: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_y: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 508s # g_signal_new ("single-arg-signal-y", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UCHAR); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_y: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_y: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalY" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_y ( 508s # OrgProjectSignalingIface *object, 508s # guchar arg_arg_y) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 508s # OrgProjectSignalingIface *object, 508s # guchar arg_arg_y) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 508s # arg_arg_y)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpc6giub37.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpc6giub37.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalN", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-n" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__INT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-n: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_n: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 508s # g_signal_new ("single-arg-signal-n", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_INT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_n: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_n: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalN" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_n ( 508s # OrgProjectSignalingIface *object, 508s # gint16 arg_arg_n) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 508s # OrgProjectSignalingIface *object, 508s # gint16 arg_arg_n) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 508s # arg_arg_n)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmplu2_i309.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmplu2_i309.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalQ", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-q" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__UINT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-q: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_q: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 508s # g_signal_new ("single-arg-signal-q", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UINT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_q: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_q: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalQ" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_q ( 508s # OrgProjectSignalingIface *object, 508s # guint16 arg_arg_q) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 508s # OrgProjectSignalingIface *object, 508s # guint16 arg_arg_q) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 508s # arg_arg_q)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpi6pdzgsv.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpi6pdzgsv.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalI", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-i" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__INT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-i: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_i: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 508s # g_signal_new ("single-arg-signal-i", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_INT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_i: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_i: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalI" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_i ( 508s # OrgProjectSignalingIface *object, 508s # gint arg_arg_i) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 508s # OrgProjectSignalingIface *object, 508s # gint arg_arg_i) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 508s # arg_arg_i)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpkqv1ilou.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpkqv1ilou.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalU", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-u" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__UINT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-u: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_u: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 508s # g_signal_new ("single-arg-signal-u", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UINT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_u: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_u: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalU" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_u ( 508s # OrgProjectSignalingIface *object, 508s # guint arg_arg_u) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 508s # OrgProjectSignalingIface *object, 508s # guint arg_arg_u) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 508s # arg_arg_u)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpv0mrrdzt.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpv0mrrdzt.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_VOID__INT64 ( 508s # GClosure *closure, 508s # GValue *return_value G_GNUC_UNUSED, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 508s # (void *data1, 508s # gint64 arg_arg_x, 508s # void *data2); 508s # _GDbusCodegenMarshalVoid_Int64Func callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # callback (data1, 508s # g_marshal_value_peek_int64 (param_values + 1), 508s # data2); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalX", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-x" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-x: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_x: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 508s # g_signal_new ("single-arg-signal-x", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_INT64); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_x: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_x: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalX" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_x ( 508s # OrgProjectSignalingIface *object, 508s # gint64 arg_arg_x) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 508s # OrgProjectSignalingIface *object, 508s # gint64 arg_arg_x) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 508s # arg_arg_x)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpnimvatdl.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpnimvatdl.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_VOID__UINT64 ( 508s # GClosure *closure, 508s # GValue *return_value G_GNUC_UNUSED, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 508s # (void *data1, 508s # guint64 arg_arg_t, 508s # void *data2); 508s # _GDbusCodegenMarshalVoid_Uint64Func callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # 508s # g_return_if_fail (n_param_values == 2); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # callback (data1, 508s # g_marshal_value_peek_uint64 (param_values + 1), 508s # data2); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalT", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-t" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-t: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_t: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 508s # g_signal_new ("single-arg-signal-t", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_UINT64); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_t: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_t: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalT" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_t ( 508s # OrgProjectSignalingIface *object, 508s # guint64 arg_arg_t) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 508s # OrgProjectSignalingIface *object, 508s # guint64 arg_arg_t) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 508s # arg_arg_t)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmplzezr96k.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmplzezr96k.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalD", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-d" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__DOUBLE (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-d: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_d: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 508s # g_signal_new ("single-arg-signal-d", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_DOUBLE); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_d: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_d: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalD" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_d ( 508s # OrgProjectSignalingIface *object, 508s # gdouble arg_arg_d) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 508s # OrgProjectSignalingIface *object, 508s # gdouble arg_arg_d) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 508s # arg_arg_d)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpt0yasqyo.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpt0yasqyo.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalS", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-s" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-s: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_s: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 508s # g_signal_new ("single-arg-signal-s", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_s: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_s: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalS" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_s ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_s) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_s) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 508s # arg_arg_s)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmp1g1fv3qu.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmp1g1fv3qu.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalO", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-o" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-o: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_o: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 508s # g_signal_new ("single-arg-signal-o", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_o: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_o: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalO" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_o ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_o) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_o) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 508s # arg_arg_o)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpmom2ti8x.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpmom2ti8x.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalG", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-g" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-g: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_g: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 508s # g_signal_new ("single-arg-signal-g", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_g: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_g: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalG" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_g ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_g) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_g) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 508s # arg_arg_g)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpp7zhz2ux.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpp7zhz2ux.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalH", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-h" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VARIANT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-h: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_h: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 508s # g_signal_new ("single-arg-signal-h", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_VARIANT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_h: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_h: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalH" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_h ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_arg_h) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_arg_h) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 508s # arg_arg_h)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpr9cxbw48.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpr9cxbw48.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAy", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-ay" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__STRING (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-ay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_ay: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 508s # g_signal_new ("single-arg-signal-ay", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRING); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_ay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_ay: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAy" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_ay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_ay) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *arg_arg_ay) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 508s # arg_arg_ay)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpqx6rxsek.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpqx6rxsek.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAs", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-as" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOXED (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-as: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_as: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 508s # g_signal_new ("single-arg-signal-as", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRV); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_as: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_as: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAs" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_as ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_arg_as) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_arg_as) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 508s # arg_arg_as)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmp3ri6m1p_.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmp3ri6m1p_.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAo", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-ao" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOXED (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-ao: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_ao: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 508s # g_signal_new ("single-arg-signal-ao", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRV); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_ao: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_ao: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAo" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_ao ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_arg_ao) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_arg_ao) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 508s # arg_arg_ao)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpt6ocguc5.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpt6ocguc5.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAay", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-aay" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__BOXED (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-aay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_aay: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 508s # g_signal_new ("single-arg-signal-aay", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_STRV); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_aay: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_aay: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAay" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_aay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_arg_aay) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 508s # OrgProjectSignalingIface *object, 508s # const gchar *const *arg_arg_aay) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 508s # arg_arg_aay)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s # /tmp/tmpmeurpwj6/tmpz56l_2q5.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmeurpwj6/tmpz56l_2q5.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "arg_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SingleArgSignalAsv", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 508s # NULL 508s # }, 508s # "single-arg-signal-asv" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VARIANT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::single-arg-signal-asv: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_asv: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 508s # g_signal_new ("single-arg-signal-asv", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 508s # G_TYPE_NONE, 508s # 1, G_TYPE_VARIANT); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_single_arg_signal_asv: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_arg_asv: Argument to pass with the signal. 508s # * 508s # * Emits the "SingleArgSignalAsv" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_single_arg_signal_asv ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_arg_asv) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 508s # OrgProjectSignalingIface *object, 508s # GVariant *arg_arg_asv) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 508s # arg_arg_asv)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 508s # tmpdir: /tmp/tmpyznt2c05 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpyznt2c05/tmpmr4yvkre.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyznt2c05/tmpmr4yvkre.xml', '--output', '-', '--body'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifdef HAVE_CONFIG_H 508s # # include "config.h" 508s # #endif 508s # 508s # #include 508s # #ifdef G_OS_UNIX 508s # # include 508s # #endif 508s # 508s # #ifdef G_ENABLE_DEBUG 508s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 508s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 508s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 508s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 508s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 508s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 508s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 508s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 508s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 508s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 508s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 508s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 508s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 508s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 508s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 508s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 508s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 508s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 508s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 508s # #else /* !G_ENABLE_DEBUG */ 508s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 508s # * Do not access GValues directly in your code. Instead, use the 508s # * g_value_get_*() functions 508s # */ 508s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 508s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 508s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 508s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 508s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 508s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 508s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 508s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 508s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 508s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 508s # #endif /* !G_ENABLE_DEBUG */ 508s # 508s # typedef struct 508s # { 508s # GDBusArgInfo parent_struct; 508s # gboolean use_gvariant; 508s # } _ExtendedGDBusArgInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusMethodInfo parent_struct; 508s # const gchar *signal_name; 508s # gboolean pass_fdlist; 508s # } _ExtendedGDBusMethodInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusSignalInfo parent_struct; 508s # const gchar *signal_name; 508s # } _ExtendedGDBusSignalInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusPropertyInfo parent_struct; 508s # const gchar *hyphen_name; 508s # guint use_gvariant : 1; 508s # guint emits_changed_signal : 1; 508s # } _ExtendedGDBusPropertyInfo; 508s # 508s # typedef struct 508s # { 508s # GDBusInterfaceInfo parent_struct; 508s # const gchar *hyphen_name; 508s # } _ExtendedGDBusInterfaceInfo; 508s # 508s # typedef struct 508s # { 508s # const _ExtendedGDBusPropertyInfo *info; 508s # guint prop_id; 508s # GValue orig_value; /* the value before the change */ 508s # } ChangedProperty; 508s # 508s # static void 508s # _changed_property_free (ChangedProperty *data) 508s # { 508s # g_value_unset (&data->orig_value); 508s # g_free (data); 508s # } 508s # 508s # static gboolean 508s # _g_strv_equal0 (gchar **a, gchar **b) 508s # { 508s # gboolean ret = FALSE; 508s # guint n; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # if (g_strv_length (a) != g_strv_length (b)) 508s # goto out; 508s # for (n = 0; a[n] != NULL; n++) 508s # if (g_strcmp0 (a[n], b[n]) != 0) 508s # goto out; 508s # ret = TRUE; 508s # out: 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _g_variant_equal0 (GVariant *a, GVariant *b) 508s # { 508s # gboolean ret = FALSE; 508s # if (a == NULL && b == NULL) 508s # { 508s # ret = TRUE; 508s # goto out; 508s # } 508s # if (a == NULL || b == NULL) 508s # goto out; 508s # ret = g_variant_equal (a, b); 508s # out: 508s # return ret; 508s # } 508s # 508s # G_GNUC_UNUSED static gboolean 508s # _g_value_equal (const GValue *a, const GValue *b) 508s # { 508s # gboolean ret = FALSE; 508s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 508s # switch (G_VALUE_TYPE (a)) 508s # { 508s # case G_TYPE_BOOLEAN: 508s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 508s # break; 508s # case G_TYPE_UCHAR: 508s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 508s # break; 508s # case G_TYPE_INT: 508s # ret = (g_value_get_int (a) == g_value_get_int (b)); 508s # break; 508s # case G_TYPE_UINT: 508s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 508s # break; 508s # case G_TYPE_INT64: 508s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 508s # break; 508s # case G_TYPE_UINT64: 508s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 508s # break; 508s # case G_TYPE_DOUBLE: 508s # { 508s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 508s # gdouble da = g_value_get_double (a); 508s # gdouble db = g_value_get_double (b); 508s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 508s # } 508s # break; 508s # case G_TYPE_STRING: 508s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 508s # break; 508s # case G_TYPE_VARIANT: 508s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 508s # break; 508s # default: 508s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 508s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 508s # else 508s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 508s # break; 508s # } 508s # return ret; 508s # } 508s # 508s # static void 508s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 508s # GClosure *closure, 508s # GValue *return_value G_GNUC_UNUSED, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint G_GNUC_UNUSED, 508s # void *marshal_data) 508s # { 508s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 508s # (void *data1, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv, 508s # void *data2); 508s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 508s # GCClosure *cc = (GCClosure*) closure; 508s # void *data1, *data2; 508s # 508s # g_return_if_fail (n_param_values == 19); 508s # 508s # if (G_CCLOSURE_SWAP_DATA (closure)) 508s # { 508s # data1 = closure->data; 508s # data2 = g_value_peek_pointer (param_values + 0); 508s # } 508s # else 508s # { 508s # data1 = g_value_peek_pointer (param_values + 0); 508s # data2 = closure->data; 508s # } 508s # 508s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 508s # (marshal_data ? marshal_data : cc->callback); 508s # 508s # callback (data1, 508s # g_marshal_value_peek_boolean (param_values + 1), 508s # g_marshal_value_peek_uchar (param_values + 2), 508s # g_marshal_value_peek_int (param_values + 3), 508s # g_marshal_value_peek_uint (param_values + 4), 508s # g_marshal_value_peek_int (param_values + 5), 508s # g_marshal_value_peek_uint (param_values + 6), 508s # g_marshal_value_peek_int64 (param_values + 7), 508s # g_marshal_value_peek_uint64 (param_values + 8), 508s # g_marshal_value_peek_double (param_values + 9), 508s # g_marshal_value_peek_string (param_values + 10), 508s # g_marshal_value_peek_string (param_values + 11), 508s # g_marshal_value_peek_string (param_values + 12), 508s # g_marshal_value_peek_variant (param_values + 13), 508s # g_marshal_value_peek_string (param_values + 14), 508s # g_marshal_value_peek_boxed (param_values + 15), 508s # g_marshal_value_peek_boxed (param_values + 16), 508s # g_marshal_value_peek_boxed (param_values + 17), 508s # g_marshal_value_peek_variant (param_values + 18), 508s # data2); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ 508s # * Code for interface org.project.SignalingIface 508s # * ------------------------------------------------------------------------ 508s # */ 508s # 508s # /** 508s # * SECTION:OrgProjectSignalingIface 508s # * @title: OrgProjectSignalingIface 508s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 508s # * 508s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 508s # */ 508s # 508s # enum 508s # { 508s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 508s # }; 508s # 508s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 508s # 508s # /* ---- Introspection data for org.project.SignalingIface ---- */ 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SimpleSignal", 508s # NULL, 508s # NULL 508s # }, 508s # "simple-signal" 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_b", 508s # (gchar *) "b", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_y", 508s # (gchar *) "y", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_n", 508s # (gchar *) "n", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_q", 508s # (gchar *) "q", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_i", 508s # (gchar *) "i", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_u", 508s # (gchar *) "u", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_x", 508s # (gchar *) "x", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_t", 508s # (gchar *) "t", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_d", 508s # (gchar *) "d", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_s", 508s # (gchar *) "s", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_o", 508s # (gchar *) "o", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_g", 508s # (gchar *) "g", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_h", 508s # (gchar *) "h", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ay", 508s # (gchar *) "ay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_as", 508s # (gchar *) "as", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_ao", 508s # (gchar *) "ao", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_aay", 508s # (gchar *) "aay", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 508s # { 508s # { 508s # -1, 508s # (gchar *) "an_asv", 508s # (gchar *) "a{sv}", 508s # NULL 508s # }, 508s # FALSE 508s # }; 508s # 508s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 508s # { 508s # { 508s # -1, 508s # (gchar *) "SignalWithManyArgs", 508s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 508s # NULL 508s # }, 508s # "signal-with-many-args" 508s # }; 508s # 508s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 508s # { 508s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 508s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 508s # NULL 508s # }; 508s # 508s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 508s # { 508s # { 508s # -1, 508s # (gchar *) "org.project.SignalingIface", 508s # NULL, 508s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 508s # NULL, 508s # NULL 508s # }, 508s # "org-project-signaling-iface", 508s # }; 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_interface_info: 508s # * 508s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 508s # * 508s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 508s # */ 508s # GDBusInterfaceInfo * 508s # org_project_signaling_iface_interface_info (void) 508s # { 508s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_override_properties: 508s # * @klass: The class structure for a #GObject derived class. 508s # * @property_id_begin: The property id to assign to the first overridden property. 508s # * 508s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 508s # * The properties are overridden in the order they are defined. 508s # * 508s # * Returns: The last property id. 508s # */ 508s # guint 508s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 508s # { 508s # return property_id_begin - 1; 508s # } 508s # 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_simple_signal ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # g_cclosure_marshal_VOID__VOID (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # inline static void 508s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 508s # GClosure *closure, 508s # GValue *return_value, 508s # unsigned int n_param_values, 508s # const GValue *param_values, 508s # void *invocation_hint, 508s # void *marshal_data) 508s # { 508s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 508s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 508s # } 508s # 508s # 508s # /** 508s # * OrgProjectSignalingIface: 508s # * 508s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceIface: 508s # * @parent_iface: The parent interface. 508s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 508s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 508s # * 508s # * Virtual table for the D-Bus interface org.project.SignalingIface. 508s # */ 508s # 508s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 508s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 508s # 508s # static void 508s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # /* GObject signals for received D-Bus signals: */ 508s # /** 508s # * OrgProjectSignalingIface::simple-signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 508s # g_signal_new ("simple-signal", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_simple_signal, 508s # G_TYPE_NONE, 508s # 0); 508s # 508s # /** 508s # * OrgProjectSignalingIface::signal-with-many-args: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_b: Argument. 508s # * @arg_an_y: Argument. 508s # * @arg_an_n: Argument. 508s # * @arg_an_q: Argument. 508s # * @arg_an_i: Argument. 508s # * @arg_an_u: Argument. 508s # * @arg_an_x: Argument. 508s # * @arg_an_t: Argument. 508s # * @arg_an_d: Argument. 508s # * @arg_an_s: Argument. 508s # * @arg_an_o: Argument. 508s # * @arg_an_g: Argument. 508s # * @arg_an_h: Argument. 508s # * @arg_an_ay: Argument. 508s # * @arg_an_as: Argument. 508s # * @arg_an_ao: Argument. 508s # * @arg_an_aay: Argument. 508s # * @arg_an_asv: Argument. 508s # * 508s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 508s # * 508s # * 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. 508s # */ 508s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 508s # g_signal_new ("signal-with-many-args", 508s # G_TYPE_FROM_INTERFACE (iface), 508s # G_SIGNAL_RUN_LAST, 508s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 508s # NULL, 508s # NULL, 508s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 508s # G_TYPE_NONE, 508s # 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); 508s # 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_simple_signal: 508s # * @object: A #OrgProjectSignalingIface. 508s # * 508s # * Emits the "SimpleSignal" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_emit_signal_with_many_args: 508s # * @object: A #OrgProjectSignalingIface. 508s # * @arg_an_b: Argument to pass with the signal. 508s # * @arg_an_y: Argument to pass with the signal. 508s # * @arg_an_n: Argument to pass with the signal. 508s # * @arg_an_q: Argument to pass with the signal. 508s # * @arg_an_i: Argument to pass with the signal. 508s # * @arg_an_u: Argument to pass with the signal. 508s # * @arg_an_x: Argument to pass with the signal. 508s # * @arg_an_t: Argument to pass with the signal. 508s # * @arg_an_d: Argument to pass with the signal. 508s # * @arg_an_s: Argument to pass with the signal. 508s # * @arg_an_o: Argument to pass with the signal. 508s # * @arg_an_g: Argument to pass with the signal. 508s # * @arg_an_h: Argument to pass with the signal. 508s # * @arg_an_ay: Argument to pass with the signal. 508s # * @arg_an_as: Argument to pass with the signal. 508s # * @arg_an_ao: Argument to pass with the signal. 508s # * @arg_an_aay: Argument to pass with the signal. 508s # * @arg_an_asv: Argument to pass with the signal. 508s # * 508s # * Emits the "SignalWithManyArgs" D-Bus signal. 508s # */ 508s # void 508s # org_project_signaling_iface_emit_signal_with_many_args ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv) 508s # { 508s # 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); 508s # } 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxy: 508s # * 508s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceProxyClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceProxy. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceProxyPrivate 508s # { 508s # GData *qdata; 508s # }; 508s # 508s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_proxy_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 508s # g_datalist_clear (&proxy->priv->qdata); 508s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 508s # guint prop_id G_GNUC_UNUSED, 508s # const GValue *value G_GNUC_UNUSED, 508s # GParamSpec *pspec G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 508s # const gchar *sender_name G_GNUC_UNUSED, 508s # const gchar *signal_name, 508s # GVariant *parameters) 508s # { 508s # _ExtendedGDBusSignalInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # gsize n; 508s # guint signal_id; 508s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 508s # if (info == NULL) 508s # return; 508s # num_params = g_variant_n_children (parameters); 508s # paramv = g_new0 (GValue, num_params + 1); 508s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[0], proxy); 508s # g_variant_iter_init (&iter, parameters); 508s # n = 1; 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_signal_emitv (paramv, signal_id, 0, NULL); 508s # for (n = 0; n < num_params + 1; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 508s # GVariant *changed_properties, 508s # const gchar *const *invalidated_properties) 508s # { 508s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 508s # guint n; 508s # const gchar *key; 508s # GVariantIter *iter; 508s # _ExtendedGDBusPropertyInfo *info; 508s # g_variant_get (changed_properties, "a{sv}", &iter); 508s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 508s # g_datalist_remove_data (&proxy->priv->qdata, key); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # g_variant_iter_free (iter); 508s # for (n = 0; invalidated_properties[n] != NULL; n++) 508s # { 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 508s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 508s # if (info != NULL) 508s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 508s # } 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 508s # #else 508s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 508s # #endif 508s # 508s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusProxyClass *proxy_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 508s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 508s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 508s # 508s # proxy_class = G_DBUS_PROXY_CLASS (klass); 508s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 508s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_sync: 508s # * @connection: A #GDBusConnection. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_sync ( 508s # GDBusConnection *connection, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 508s # * @user_data: User data to pass to @callback. 508s # * 508s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 508s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 508s # */ 508s # void 508s # org_project_signaling_iface_proxy_new_for_bus ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GAsyncReadyCallback callback, 508s # gpointer user_data) 508s # { 508s # 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); 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_finish: 508s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 508s # * @error: Return location for error or %NULL 508s # * 508s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_finish ( 508s # GAsyncResult *res, 508s # GError **error) 508s # { 508s # GObject *ret; 508s # GObject *source_object; 508s # source_object = g_async_result_get_source_object (res); 508s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 508s # g_object_unref (source_object); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_proxy_new_for_bus_sync: 508s # * @bus_type: A #GBusType. 508s # * @flags: Flags from the #GDBusProxyFlags enumeration. 508s # * @name: A bus name (well-known or unique). 508s # * @object_path: An object path. 508s # * @cancellable: (nullable): A #GCancellable or %NULL. 508s # * @error: Return location for error or %NULL 508s # * 508s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 508s # * 508s # * The calling thread is blocked until a reply is received. 508s # * 508s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_proxy_new_for_bus_sync ( 508s # GBusType bus_type, 508s # GDBusProxyFlags flags, 508s # const gchar *name, 508s # const gchar *object_path, 508s # GCancellable *cancellable, 508s # GError **error) 508s # { 508s # GInitable *ret; 508s # 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); 508s # if (ret != NULL) 508s # return ORG_PROJECT_SIGNALING_IFACE (ret); 508s # else 508s # return NULL; 508s # } 508s # 508s # 508s # /* ------------------------------------------------------------------------ */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeleton: 508s # * 508s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 508s # */ 508s # 508s # /** 508s # * OrgProjectSignalingIfaceSkeletonClass: 508s # * @parent_class: The parent class. 508s # * 508s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 508s # */ 508s # 508s # struct _OrgProjectSignalingIfaceSkeletonPrivate 508s # { 508s # GValue *properties; 508s # GList *changed_properties; 508s # GSource *changed_properties_idle_source; 508s # GMainContext *context; 508s # GMutex lock; 508s # }; 508s # 508s # static void 508s # _org_project_signaling_iface_skeleton_handle_method_call ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name, 508s # const gchar *method_name, 508s # GVariant *parameters, 508s # GDBusMethodInvocation *invocation, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # _ExtendedGDBusMethodInfo *info; 508s # GVariantIter iter; 508s # GVariant *child; 508s # GValue *paramv; 508s # gsize num_params; 508s # guint num_extra; 508s # gsize n; 508s # guint signal_id; 508s # GValue return_value = G_VALUE_INIT; 508s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 508s # g_assert (info != NULL); 508s # num_params = g_variant_n_children (parameters); 508s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 508s # n = 0; 508s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_set_object (¶mv[n++], skeleton); 508s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 508s # g_value_set_object (¶mv[n++], invocation); 508s # if (info->pass_fdlist) 508s # { 508s # #ifdef G_OS_UNIX 508s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 508s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 508s # #else 508s # g_assert_not_reached (); 508s # #endif 508s # } 508s # g_variant_iter_init (&iter, parameters); 508s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 508s # { 508s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 508s # if (arg_info->use_gvariant) 508s # { 508s # g_value_init (¶mv[n], G_TYPE_VARIANT); 508s # g_value_set_variant (¶mv[n], child); 508s # n++; 508s # } 508s # else 508s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 508s # g_variant_unref (child); 508s # } 508s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 508s # g_value_init (&return_value, G_TYPE_BOOLEAN); 508s # g_signal_emitv (paramv, signal_id, 0, &return_value); 508s # if (!g_value_get_boolean (&return_value)) 508s # 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); 508s # g_value_unset (&return_value); 508s # for (n = 0; n < num_params + num_extra; n++) 508s # g_value_unset (¶mv[n]); 508s # g_free (paramv); 508s # } 508s # 508s # static GVariant * 508s # _org_project_signaling_iface_skeleton_handle_get_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # GVariant *ret; 508s # ret = NULL; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # g_value_init (&value, pspec->value_type); 508s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 508s # g_value_unset (&value); 508s # } 508s # return ret; 508s # } 508s # 508s # static gboolean 508s # _org_project_signaling_iface_skeleton_handle_set_property ( 508s # GDBusConnection *connection G_GNUC_UNUSED, 508s # const gchar *sender G_GNUC_UNUSED, 508s # const gchar *object_path G_GNUC_UNUSED, 508s # const gchar *interface_name G_GNUC_UNUSED, 508s # const gchar *property_name, 508s # GVariant *variant, 508s # GError **error, 508s # gpointer user_data) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 508s # GValue value = G_VALUE_INIT; 508s # GParamSpec *pspec; 508s # _ExtendedGDBusPropertyInfo *info; 508s # gboolean ret; 508s # ret = FALSE; 508s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 508s # g_assert (info != NULL); 508s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 508s # if (pspec == NULL) 508s # { 508s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 508s # } 508s # else 508s # { 508s # if (info->use_gvariant) 508s # g_value_set_variant (&value, variant); 508s # else 508s # g_dbus_gvariant_to_gvalue (variant, &value); 508s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 508s # g_value_unset (&value); 508s # ret = TRUE; 508s # } 508s # return ret; 508s # } 508s # 508s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 508s # { 508s # _org_project_signaling_iface_skeleton_handle_method_call, 508s # _org_project_signaling_iface_skeleton_handle_get_property, 508s # _org_project_signaling_iface_skeleton_handle_set_property, 508s # {NULL} 508s # }; 508s # 508s # static GDBusInterfaceInfo * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return org_project_signaling_iface_interface_info (); 508s # } 508s # 508s # static GDBusInterfaceVTable * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 508s # { 508s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 508s # } 508s # 508s # static GVariant * 508s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 508s # 508s # GVariantBuilder builder; 508s # guint n; 508s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 508s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 508s # goto out; 508s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 508s # { 508s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 508s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 508s # { 508s # GVariant *value; 508s # 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); 508s # if (value != NULL) 508s # { 508s # g_variant_take_ref (value); 508s # g_variant_builder_add (&builder, "{sv}", info->name, value); 508s # g_variant_unref (value); 508s # } 508s # } 508s # } 508s # out: 508s # return g_variant_builder_end (&builder); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 508s # { 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_simple_signal ( 508s # OrgProjectSignalingIface *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void 508s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 508s # OrgProjectSignalingIface *object, 508s # gboolean arg_an_b, 508s # guchar arg_an_y, 508s # gint16 arg_an_n, 508s # guint16 arg_an_q, 508s # gint arg_an_i, 508s # guint arg_an_u, 508s # gint64 arg_an_x, 508s # guint64 arg_an_t, 508s # gdouble arg_an_d, 508s # const gchar *arg_an_s, 508s # const gchar *arg_an_o, 508s # const gchar *arg_an_g, 508s # GVariant *arg_an_h, 508s # const gchar *arg_an_ay, 508s # const gchar *const *arg_an_as, 508s # const gchar *const *arg_an_ao, 508s # const gchar *const *arg_an_aay, 508s # GVariant *arg_an_asv) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # 508s # GList *connections, *l; 508s # GVariant *signal_variant; 508s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 508s # 508s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 508s # arg_an_b, 508s # arg_an_y, 508s # arg_an_n, 508s # arg_an_q, 508s # arg_an_i, 508s # arg_an_u, 508s # arg_an_x, 508s # arg_an_t, 508s # arg_an_d, 508s # arg_an_s, 508s # arg_an_o, 508s # arg_an_g, 508s # arg_an_h, 508s # arg_an_ay, 508s # arg_an_as, 508s # arg_an_ao, 508s # arg_an_aay, 508s # arg_an_asv)); 508s # for (l = connections; l != NULL; l = l->next) 508s # { 508s # GDBusConnection *connection = l->data; 508s # g_dbus_connection_emit_signal (connection, 508s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 508s # signal_variant, NULL); 508s # } 508s # g_variant_unref (signal_variant); 508s # g_list_free_full (connections, g_object_unref); 508s # } 508s # 508s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #else 508s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 508s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 508s # 508s # #endif 508s # static void 508s # org_project_signaling_iface_skeleton_finalize (GObject *object) 508s # { 508s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 508s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 508s # if (skeleton->priv->changed_properties_idle_source != NULL) 508s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 508s # g_main_context_unref (skeleton->priv->context); 508s # g_mutex_clear (&skeleton->priv->lock); 508s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 508s # { 508s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 508s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 508s # #else 508s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 508s # #endif 508s # 508s # g_mutex_init (&skeleton->priv->lock); 508s # skeleton->priv->context = g_main_context_ref_thread_default (); 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 508s # { 508s # GObjectClass *gobject_class; 508s # GDBusInterfaceSkeletonClass *skeleton_class; 508s # 508s # gobject_class = G_OBJECT_CLASS (klass); 508s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 508s # 508s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 508s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 508s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 508s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 508s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 508s # 508s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 508s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 508s # #endif 508s # } 508s # 508s # static void 508s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 508s # { 508s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 508s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 508s # } 508s # 508s # /** 508s # * org_project_signaling_iface_skeleton_new: 508s # * 508s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 508s # * 508s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 508s # */ 508s # OrgProjectSignalingIface * 508s # org_project_signaling_iface_skeleton_new (void) 508s # { 508s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 508s # } 508s ok 25 __main__.TestCodegen.test_generate_valid_docbook 508s # tmpdir: /tmp/tmp8pro9l2o 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp8pro9l2o/tmpw5yo9_x_.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8pro9l2o/tmpw5yo9_x_.xml', '--generate-docbook', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 508s # tmpdir: /tmp/tmp1cqp3zxa 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp1cqp3zxa/tmpe8pmasoq.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1cqp3zxa/tmpe8pmasoq.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 508s # tmpdir: /tmp/tmpq3otz_we 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpq3otz_we/tmpbr5pqgps.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq3otz_we/tmpbr5pqgps.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifndef __STDOUT__ 508s # #define __STDOUT__ 508s # 508s # #include 508s # 508s # G_BEGIN_DECLS 508s # 508s # 508s # G_END_DECLS 508s # 508s # #endif /* __STDOUT__ */ 508s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 508s # tmpdir: /tmp/tmp1bnbidyd 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp1bnbidyd/tmpoic91o76.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1bnbidyd/tmpoic91o76.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 508s # tmpdir: /tmp/tmp7v1w1p6b 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp7v1w1p6b/tmpzy017iye.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7v1w1p6b/tmpzy017iye.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifndef __STDOUT__ 508s # #define __STDOUT__ 508s # 508s # #include 508s # 508s # G_BEGIN_DECLS 508s # 508s # 508s # G_END_DECLS 508s # 508s # #endif /* __STDOUT__ */ 508s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 508s # tmpdir: /tmp/tmpf594gdkz 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpf594gdkz/tmp2or9kw0g.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf594gdkz/tmp2or9kw0g.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifndef __STDOUT__ 508s # #define __STDOUT__ 508s # 508s # #include 508s # 508s # G_BEGIN_DECLS 508s # 508s # 508s # G_END_DECLS 508s # 508s # #endif /* __STDOUT__ */ 508s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 508s # tmpdir: /tmp/tmp49pglalf 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp49pglalf/tmpsiowwqpf.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp49pglalf/tmpsiowwqpf.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 508s # tmpdir: /tmp/tmp53tov6_j 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp53tov6_j/tmpv4abm53x.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp53tov6_j/tmpv4abm53x.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifndef __STDOUT__ 508s # #define __STDOUT__ 508s # 508s # #include 508s # 508s # G_BEGIN_DECLS 508s # 508s # 508s # G_END_DECLS 508s # 508s # #endif /* __STDOUT__ */ 508s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 508s # tmpdir: /tmp/tmp09o2m9wk 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmp09o2m9wk/tmph4ft55dg.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp09o2m9wk/tmph4ft55dg.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 508s # tmpdir: /tmp/tmpwxesg3m6 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpwxesg3m6/tmpnov_ziuw.xml: 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwxesg3m6/tmpnov_ziuw.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: /* 508s # * This file is generated by gdbus-codegen, do not modify it. 508s # * 508s # * The license of this code is the same as for the D-Bus interface description 508s # * it was derived from. Note that it links to GLib, so must comply with the 508s # * LGPL linking clauses. 508s # */ 508s # 508s # #ifndef __STDOUT__ 508s # #define __STDOUT__ 508s # 508s # #include 508s # 508s # G_BEGIN_DECLS 508s # 508s # 508s # G_END_DECLS 508s # 508s # #endif /* __STDOUT__ */ 508s ok 35 __main__.TestCodegen.test_help 508s # tmpdir: /tmp/tmpun25k8_a 508s # codegen: /usr/bin/gdbus-codegen 508s # Running: ['/usr/bin/gdbus-codegen', '--help'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 508s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 508s # [--c-generate-autocleanup {none,objects,all}] 508s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 508s # [--generate-rst OUTFILES] [--pragma-once] 508s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 508s # [--glib-min-required VERSION] 508s # [--glib-max-allowed VERSION] 508s # [--symbol-decorator SYMBOL_DECORATOR] 508s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 508s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 508s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 508s # [--output FILE | --output-directory OUTDIR] 508s # FILE [FILE ...] 508s # 508s # D-Bus code and documentation generator 508s # 508s # positional arguments: 508s # FILE D-Bus introspection XML file 508s # 508s # options: 508s # -h, --help show this help message and exit 508s # --interface-prefix PREFIX 508s # String to strip from D-Bus interface names for code 508s # and docs 508s # --c-namespace NAMESPACE 508s # The namespace to use for generated C code 508s # --c-generate-object-manager 508s # Generate a GDBusObjectManagerClient subclass when 508s # generating C code 508s # --c-generate-autocleanup {none,objects,all} 508s # Generate autocleanup support 508s # --generate-docbook OUTFILES 508s # Generate Docbook in OUTFILES-org.Project.IFace.xml 508s # --generate-md OUTFILES 508s # Generate Markdown in OUTFILES-org.Project.IFace.md 508s # --generate-rst OUTFILES 508s # Generate reStructuredText in OUTFILES- 508s # org.Project.IFace.rst 508s # --pragma-once Use "pragma once" as the inclusion guard 508s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 508s # Add annotation (may be used several times) 508s # --glib-min-required VERSION 508s # Minimum version of GLib to be supported by the 508s # outputted code (default: 2.30) 508s # --glib-max-allowed VERSION 508s # Maximum version of GLib to be used by the outputted 508s # code (default: current GLib version) 508s # --symbol-decorator SYMBOL_DECORATOR 508s # Macro used to decorate a symbol in the outputted 508s # header, possibly to export symbols 508s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 508s # Additional header required for decorator specified by 508s # --symbol-decorator 508s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 508s # Additional define required for decorator specified by 508s # --symbol-decorator 508s # --generate-c-code OUTFILES 508s # Generate C code in OUTFILES.[ch] 508s # --header Generate C headers 508s # --body Generate C code 508s # --interface-info-header 508s # Generate GDBusInterfaceInfo C header 508s # --interface-info-body 508s # Generate GDBusInterfaceInfo C code 508s # --output FILE Write output into the specified file 508s # --output-directory OUTDIR 508s # Location to output generated files 508s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 508s # tmpdir: /tmp/tmpx2alpxtf 508s # codegen: /usr/bin/gdbus-codegen 508s # /tmp/tmpx2alpxtf/tmp1sfqv9om.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx2alpxtf/tmp1sfqv9om.xml', '--generate-rst', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s # /tmp/tmpx2alpxtf/tmpjty0prut.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx2alpxtf/tmpjty0prut.xml', '--generate-md', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s # /tmp/tmpx2alpxtf/tmpqqklk8zt.xml: 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # 508s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx2alpxtf/tmpqqklk8zt.xml', '--generate-docbook', 'test'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s # Output: 508s ok 37 __main__.TestCodegen.test_no_args 508s # tmpdir: /tmp/tmp6y0ftlmk 508s # codegen: /usr/bin/gdbus-codegen 508s # Running: ['/usr/bin/gdbus-codegen'] 508s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 508s ok 38 __main__.TestCodegen.test_reproducible 509s # tmpdir: /tmp/tmplafzzb3k 509s # codegen: /usr/bin/gdbus-codegen 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplafzzb3k/tmpy0x1d7jm1.xml', '/tmp/tmplafzzb3k/tmpu7clk6xw2.xml', '--output', '-', '--header'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifndef __STDOUT__ 509s # #define __STDOUT__ 509s # 509s # #include 509s # 509s # G_BEGIN_DECLS 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for org.project.Bar.Frobnicator */ 509s # 509s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 509s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 509s # 509s # struct _OrgProjectBarFrobnicator; 509s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 509s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 509s # 509s # struct _OrgProjectBarFrobnicatorIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # gboolean (*handle_random_method) ( 509s # OrgProjectBarFrobnicator *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # }; 509s # 509s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 509s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void org_project_bar_frobnicator_complete_random_method ( 509s # OrgProjectBarFrobnicator *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void org_project_bar_frobnicator_call_random_method ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 509s # 509s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 509s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 509s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 509s # 509s # struct _OrgProjectBarFrobnicatorProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # OrgProjectBarFrobnicatorProxyPrivate *priv; 509s # }; 509s # 509s # struct _OrgProjectBarFrobnicatorProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 509s # #endif 509s # 509s # void org_project_bar_frobnicator_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void org_project_bar_frobnicator_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 509s # 509s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 509s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 509s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 509s # 509s # struct _OrgProjectBarFrobnicatorSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _OrgProjectBarFrobnicatorSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 509s # #endif 509s # 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for com.acme.Coyote */ 509s # 509s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 509s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 509s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 509s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 509s # 509s # struct _ComAcmeCoyote; 509s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 509s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 509s # 509s # struct _ComAcmeCoyoteIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # 509s # 509s # gboolean (*handle_attack) ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # gboolean (*handle_run) ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # gboolean (*handle_sleep) ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # const gchar * (*get_mood) (ComAcmeCoyote *object); 509s # 509s # void (*surprised) ( 509s # ComAcmeCoyote *object); 509s # 509s # }; 509s # 509s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 509s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void com_acme_coyote_complete_run ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # void com_acme_coyote_complete_sleep ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # void com_acme_coyote_complete_attack ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # 509s # 509s # /* D-Bus signal emissions functions: */ 509s # void com_acme_coyote_emit_surprised ( 509s # ComAcmeCoyote *object); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void com_acme_coyote_call_run ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean com_acme_coyote_call_run_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean com_acme_coyote_call_run_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void com_acme_coyote_call_sleep ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean com_acme_coyote_call_sleep_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean com_acme_coyote_call_sleep_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void com_acme_coyote_call_attack ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean com_acme_coyote_call_attack_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean com_acme_coyote_call_attack_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* D-Bus property accessors: */ 509s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 509s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 509s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 509s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 509s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 509s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 509s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 509s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 509s # 509s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 509s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 509s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 509s # 509s # struct _ComAcmeCoyoteProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # ComAcmeCoyoteProxyPrivate *priv; 509s # }; 509s # 509s # struct _ComAcmeCoyoteProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 509s # #endif 509s # 509s # void com_acme_coyote_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void com_acme_coyote_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 509s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 509s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 509s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 509s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 509s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 509s # 509s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 509s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 509s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 509s # 509s # struct _ComAcmeCoyoteSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # ComAcmeCoyoteSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _ComAcmeCoyoteSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 509s # #endif 509s # 509s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 509s # 509s # 509s # G_END_DECLS 509s # 509s # #endif /* __STDOUT__ */ 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplafzzb3k/tmpu7clk6xw2.xml', '/tmp/tmplafzzb3k/tmpy0x1d7jm1.xml', '--output', '-', '--header'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifndef __STDOUT__ 509s # #define __STDOUT__ 509s # 509s # #include 509s # 509s # G_BEGIN_DECLS 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for org.project.Bar.Frobnicator */ 509s # 509s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 509s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 509s # 509s # struct _OrgProjectBarFrobnicator; 509s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 509s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 509s # 509s # struct _OrgProjectBarFrobnicatorIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # gboolean (*handle_random_method) ( 509s # OrgProjectBarFrobnicator *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # }; 509s # 509s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 509s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void org_project_bar_frobnicator_complete_random_method ( 509s # OrgProjectBarFrobnicator *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void org_project_bar_frobnicator_call_random_method ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 509s # 509s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 509s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 509s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 509s # 509s # struct _OrgProjectBarFrobnicatorProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # OrgProjectBarFrobnicatorProxyPrivate *priv; 509s # }; 509s # 509s # struct _OrgProjectBarFrobnicatorProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 509s # #endif 509s # 509s # void org_project_bar_frobnicator_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void org_project_bar_frobnicator_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 509s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 509s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 509s # 509s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 509s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 509s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 509s # 509s # struct _OrgProjectBarFrobnicatorSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _OrgProjectBarFrobnicatorSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 509s # #endif 509s # 509s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for com.acme.Coyote */ 509s # 509s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 509s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 509s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 509s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 509s # 509s # struct _ComAcmeCoyote; 509s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 509s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 509s # 509s # struct _ComAcmeCoyoteIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # 509s # 509s # gboolean (*handle_attack) ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # gboolean (*handle_run) ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # gboolean (*handle_sleep) ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # const gchar * (*get_mood) (ComAcmeCoyote *object); 509s # 509s # void (*surprised) ( 509s # ComAcmeCoyote *object); 509s # 509s # }; 509s # 509s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 509s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void com_acme_coyote_complete_run ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # void com_acme_coyote_complete_sleep ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # void com_acme_coyote_complete_attack ( 509s # ComAcmeCoyote *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # 509s # 509s # /* D-Bus signal emissions functions: */ 509s # void com_acme_coyote_emit_surprised ( 509s # ComAcmeCoyote *object); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void com_acme_coyote_call_run ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean com_acme_coyote_call_run_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean com_acme_coyote_call_run_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void com_acme_coyote_call_sleep ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean com_acme_coyote_call_sleep_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean com_acme_coyote_call_sleep_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void com_acme_coyote_call_attack ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean com_acme_coyote_call_attack_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean com_acme_coyote_call_attack_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* D-Bus property accessors: */ 509s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 509s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 509s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 509s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 509s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 509s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 509s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 509s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 509s # 509s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 509s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 509s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 509s # 509s # struct _ComAcmeCoyoteProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # ComAcmeCoyoteProxyPrivate *priv; 509s # }; 509s # 509s # struct _ComAcmeCoyoteProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 509s # #endif 509s # 509s # void com_acme_coyote_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void com_acme_coyote_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 509s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 509s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 509s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 509s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 509s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 509s # 509s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 509s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 509s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 509s # 509s # struct _ComAcmeCoyoteSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # ComAcmeCoyoteSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _ComAcmeCoyoteSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 509s # #endif 509s # 509s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 509s # 509s # 509s # G_END_DECLS 509s # 509s # #endif /* __STDOUT__ */ 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplafzzb3k/tmpy0x1d7jm1.xml', '/tmp/tmplafzzb3k/tmpu7clk6xw2.xml', '--output', '-', '--body'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifdef HAVE_CONFIG_H 509s # # include "config.h" 509s # #endif 509s # 509s # #include 509s # #ifdef G_OS_UNIX 509s # # include 509s # #endif 509s # 509s # #ifdef G_ENABLE_DEBUG 509s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 509s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 509s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 509s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 509s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 509s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 509s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 509s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 509s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 509s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 509s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 509s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 509s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 509s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 509s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 509s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 509s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 509s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 509s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 509s # #else /* !G_ENABLE_DEBUG */ 509s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 509s # * Do not access GValues directly in your code. Instead, use the 509s # * g_value_get_*() functions 509s # */ 509s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 509s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 509s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 509s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 509s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 509s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 509s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 509s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 509s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 509s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 509s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 509s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 509s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 509s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 509s # #endif /* !G_ENABLE_DEBUG */ 509s # 509s # typedef struct 509s # { 509s # GDBusArgInfo parent_struct; 509s # gboolean use_gvariant; 509s # } _ExtendedGDBusArgInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusMethodInfo parent_struct; 509s # const gchar *signal_name; 509s # gboolean pass_fdlist; 509s # } _ExtendedGDBusMethodInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusSignalInfo parent_struct; 509s # const gchar *signal_name; 509s # } _ExtendedGDBusSignalInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusPropertyInfo parent_struct; 509s # const gchar *hyphen_name; 509s # guint use_gvariant : 1; 509s # guint emits_changed_signal : 1; 509s # } _ExtendedGDBusPropertyInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusInterfaceInfo parent_struct; 509s # const gchar *hyphen_name; 509s # } _ExtendedGDBusInterfaceInfo; 509s # 509s # typedef struct 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # guint prop_id; 509s # GValue orig_value; /* the value before the change */ 509s # } ChangedProperty; 509s # 509s # static void 509s # _changed_property_free (ChangedProperty *data) 509s # { 509s # g_value_unset (&data->orig_value); 509s # g_free (data); 509s # } 509s # 509s # static gboolean 509s # _g_strv_equal0 (gchar **a, gchar **b) 509s # { 509s # gboolean ret = FALSE; 509s # guint n; 509s # if (a == NULL && b == NULL) 509s # { 509s # ret = TRUE; 509s # goto out; 509s # } 509s # if (a == NULL || b == NULL) 509s # goto out; 509s # if (g_strv_length (a) != g_strv_length (b)) 509s # goto out; 509s # for (n = 0; a[n] != NULL; n++) 509s # if (g_strcmp0 (a[n], b[n]) != 0) 509s # goto out; 509s # ret = TRUE; 509s # out: 509s # return ret; 509s # } 509s # 509s # static gboolean 509s # _g_variant_equal0 (GVariant *a, GVariant *b) 509s # { 509s # gboolean ret = FALSE; 509s # if (a == NULL && b == NULL) 509s # { 509s # ret = TRUE; 509s # goto out; 509s # } 509s # if (a == NULL || b == NULL) 509s # goto out; 509s # ret = g_variant_equal (a, b); 509s # out: 509s # return ret; 509s # } 509s # 509s # G_GNUC_UNUSED static gboolean 509s # _g_value_equal (const GValue *a, const GValue *b) 509s # { 509s # gboolean ret = FALSE; 509s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 509s # switch (G_VALUE_TYPE (a)) 509s # { 509s # case G_TYPE_BOOLEAN: 509s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 509s # break; 509s # case G_TYPE_UCHAR: 509s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 509s # break; 509s # case G_TYPE_INT: 509s # ret = (g_value_get_int (a) == g_value_get_int (b)); 509s # break; 509s # case G_TYPE_UINT: 509s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 509s # break; 509s # case G_TYPE_INT64: 509s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 509s # break; 509s # case G_TYPE_UINT64: 509s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 509s # break; 509s # case G_TYPE_DOUBLE: 509s # { 509s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 509s # gdouble da = g_value_get_double (a); 509s # gdouble db = g_value_get_double (b); 509s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 509s # } 509s # break; 509s # case G_TYPE_STRING: 509s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 509s # break; 509s # case G_TYPE_VARIANT: 509s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 509s # break; 509s # default: 509s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 509s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 509s # else 509s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 509s # break; 509s # } 509s # return ret; 509s # } 509s # 509s # static void 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint G_GNUC_UNUSED, 509s # void *marshal_data) 509s # { 509s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 509s # (void *data1, 509s # GDBusMethodInvocation *arg_method_invocation, 509s # void *data2); 509s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 509s # GCClosure *cc = (GCClosure*) closure; 509s # void *data1, *data2; 509s # gboolean v_return; 509s # 509s # g_return_if_fail (return_value != NULL); 509s # g_return_if_fail (n_param_values == 2); 509s # 509s # if (G_CCLOSURE_SWAP_DATA (closure)) 509s # { 509s # data1 = closure->data; 509s # data2 = g_value_peek_pointer (param_values + 0); 509s # } 509s # else 509s # { 509s # data1 = g_value_peek_pointer (param_values + 0); 509s # data2 = closure->data; 509s # } 509s # 509s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 509s # (marshal_data ? marshal_data : cc->callback); 509s # 509s # v_return = 509s # callback (data1, 509s # g_marshal_value_peek_object (param_values + 1), 509s # data2); 509s # 509s # g_value_set_boolean (return_value, v_return); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ 509s # * Code for interface org.project.Bar.Frobnicator 509s # * ------------------------------------------------------------------------ 509s # */ 509s # 509s # /** 509s # * SECTION:OrgProjectBarFrobnicator 509s # * @title: OrgProjectBarFrobnicator 509s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 509s # * 509s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 509s # */ 509s # 509s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 509s # 509s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 509s # { 509s # { 509s # -1, 509s # (gchar *) "RandomMethod", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-random-method", 509s # FALSE 509s # }; 509s # 509s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 509s # { 509s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 509s # { 509s # { 509s # -1, 509s # (gchar *) "org.project.Bar.Frobnicator", 509s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "org-project-bar-frobnicator", 509s # }; 509s # 509s # 509s # /** 509s # * org_project_bar_frobnicator_interface_info: 509s # * 509s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 509s # * 509s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 509s # */ 509s # GDBusInterfaceInfo * 509s # org_project_bar_frobnicator_interface_info (void) 509s # { 509s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_override_properties: 509s # * @klass: The class structure for a #GObject derived class. 509s # * @property_id_begin: The property id to assign to the first overridden property. 509s # * 509s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 509s # * The properties are overridden in the order they are defined. 509s # * 509s # * Returns: The last property id. 509s # */ 509s # guint 509s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 509s # { 509s # return property_id_begin - 1; 509s # } 509s # 509s # 509s # inline static void 509s # org_project_bar_frobnicator_method_marshal_random_method ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # 509s # /** 509s # * OrgProjectBarFrobnicator: 509s # * 509s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 509s # */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorIface: 509s # * @parent_iface: The parent interface. 509s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 509s # * 509s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 509s # */ 509s # 509s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 509s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 509s # 509s # static void 509s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 509s # { 509s # /* GObject signals for incoming D-Bus method calls: */ 509s # /** 509s # * OrgProjectBarFrobnicator::handle-random-method: 509s # * @object: A #OrgProjectBarFrobnicator. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-random-method", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # org_project_bar_frobnicator_method_marshal_random_method, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_call_random_method: 509s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 509s # * 509s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # org_project_bar_frobnicator_call_random_method ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "RandomMethod", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_call_random_method_finish: 509s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # org_project_bar_frobnicator_call_random_method_finish ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_call_random_method_sync: 509s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # org_project_bar_frobnicator_call_random_method_sync ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "RandomMethod", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_complete_random_method: 509s # * @object: A #OrgProjectBarFrobnicator. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # org_project_bar_frobnicator_complete_random_method ( 509s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorProxy: 509s # * 509s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorProxyClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #OrgProjectBarFrobnicatorProxy. 509s # */ 509s # 509s # struct _OrgProjectBarFrobnicatorProxyPrivate 509s # { 509s # GData *qdata; 509s # }; 509s # 509s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 509s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 509s # 509s # #endif 509s # static void 509s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 509s # { 509s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 509s # g_datalist_clear (&proxy->priv->qdata); 509s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 509s # guint prop_id G_GNUC_UNUSED, 509s # GValue *value G_GNUC_UNUSED, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 509s # guint prop_id G_GNUC_UNUSED, 509s # const GValue *value G_GNUC_UNUSED, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 509s # const gchar *sender_name G_GNUC_UNUSED, 509s # const gchar *signal_name, 509s # GVariant *parameters) 509s # { 509s # _ExtendedGDBusSignalInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # gsize n; 509s # guint signal_id; 509s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 509s # if (info == NULL) 509s # return; 509s # num_params = g_variant_n_children (parameters); 509s # paramv = g_new0 (GValue, num_params + 1); 509s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_value_set_object (¶mv[0], proxy); 509s # g_variant_iter_init (&iter, parameters); 509s # n = 1; 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_signal_emitv (paramv, signal_id, 0, NULL); 509s # for (n = 0; n < num_params + 1; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 509s # GVariant *changed_properties, 509s # const gchar *const *invalidated_properties) 509s # { 509s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 509s # guint n; 509s # const gchar *key; 509s # GVariantIter *iter; 509s # _ExtendedGDBusPropertyInfo *info; 509s # g_variant_get (changed_properties, "a{sv}", &iter); 509s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 509s # g_datalist_remove_data (&proxy->priv->qdata, key); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # g_variant_iter_free (iter); 509s # for (n = 0; invalidated_properties[n] != NULL; n++) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 509s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 509s # #else 509s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 509s # #endif 509s # 509s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusProxyClass *proxy_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 509s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 509s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 509s # 509s # proxy_class = G_DBUS_PROXY_CLASS (klass); 509s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 509s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # org_project_bar_frobnicator_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_sync: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_for_bus: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # org_project_bar_frobnicator_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorSkeleton: 509s # * 509s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorSkeletonClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 509s # */ 509s # 509s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 509s # { 509s # GValue *properties; 509s # GList *changed_properties; 509s # GSource *changed_properties_idle_source; 509s # GMainContext *context; 509s # GMutex lock; 509s # }; 509s # 509s # static void 509s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name, 509s # const gchar *method_name, 509s # GVariant *parameters, 509s # GDBusMethodInvocation *invocation, 509s # gpointer user_data) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 509s # _ExtendedGDBusMethodInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # guint num_extra; 509s # gsize n; 509s # guint signal_id; 509s # GValue return_value = G_VALUE_INIT; 509s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 509s # g_assert (info != NULL); 509s # num_params = g_variant_n_children (parameters); 509s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 509s # n = 0; 509s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_value_set_object (¶mv[n++], skeleton); 509s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 509s # g_value_set_object (¶mv[n++], invocation); 509s # if (info->pass_fdlist) 509s # { 509s # #ifdef G_OS_UNIX 509s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 509s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 509s # #else 509s # g_assert_not_reached (); 509s # #endif 509s # } 509s # g_variant_iter_init (&iter, parameters); 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_value_init (&return_value, G_TYPE_BOOLEAN); 509s # g_signal_emitv (paramv, signal_id, 0, &return_value); 509s # if (!g_value_get_boolean (&return_value)) 509s # 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); 509s # g_value_unset (&return_value); 509s # for (n = 0; n < num_params + num_extra; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static GVariant * 509s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # GVariant *ret; 509s # ret = NULL; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # g_value_init (&value, pspec->value_type); 509s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 509s # g_value_unset (&value); 509s # } 509s # return ret; 509s # } 509s # 509s # static gboolean 509s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GVariant *variant, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # gboolean ret; 509s # ret = FALSE; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # if (info->use_gvariant) 509s # g_value_set_variant (&value, variant); 509s # else 509s # g_dbus_gvariant_to_gvalue (variant, &value); 509s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # g_value_unset (&value); 509s # ret = TRUE; 509s # } 509s # return ret; 509s # } 509s # 509s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 509s # { 509s # _org_project_bar_frobnicator_skeleton_handle_method_call, 509s # _org_project_bar_frobnicator_skeleton_handle_get_property, 509s # _org_project_bar_frobnicator_skeleton_handle_set_property, 509s # {NULL} 509s # }; 509s # 509s # static GDBusInterfaceInfo * 509s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return org_project_bar_frobnicator_interface_info (); 509s # } 509s # 509s # static GDBusInterfaceVTable * 509s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 509s # } 509s # 509s # static GVariant * 509s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 509s # 509s # GVariantBuilder builder; 509s # guint n; 509s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 509s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 509s # goto out; 509s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 509s # { 509s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 509s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 509s # { 509s # GVariant *value; 509s # 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); 509s # if (value != NULL) 509s # { 509s # g_variant_take_ref (value); 509s # g_variant_builder_add (&builder, "{sv}", info->name, value); 509s # g_variant_unref (value); 509s # } 509s # } 509s # } 509s # out: 509s # return g_variant_builder_end (&builder); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 509s # 509s # #endif 509s # static void 509s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 509s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 509s # if (skeleton->priv->changed_properties_idle_source != NULL) 509s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 509s # g_main_context_unref (skeleton->priv->context); 509s # g_mutex_clear (&skeleton->priv->lock); 509s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 509s # #else 509s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 509s # #endif 509s # 509s # g_mutex_init (&skeleton->priv->lock); 509s # skeleton->priv->context = g_main_context_ref_thread_default (); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusInterfaceSkeletonClass *skeleton_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 509s # 509s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 509s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 509s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 509s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 509s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_skeleton_new: 509s # * 509s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_skeleton_new (void) 509s # { 509s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ 509s # * Code for interface com.acme.Coyote 509s # * ------------------------------------------------------------------------ 509s # */ 509s # 509s # /** 509s # * SECTION:ComAcmeCoyote 509s # * @title: ComAcmeCoyote 509s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 509s # * 509s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 509s # */ 509s # 509s # enum 509s # { 509s # _COM_ACME_COYOTE_SURPRISED, 509s # }; 509s # 509s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 509s # 509s # /* ---- Introspection data for com.acme.Coyote ---- */ 509s # 509s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Run", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-run", 509s # FALSE 509s # }; 509s # 509s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Sleep", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-sleep", 509s # FALSE 509s # }; 509s # 509s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Attack", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-attack", 509s # FALSE 509s # }; 509s # 509s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 509s # { 509s # &_com_acme_coyote_method_info_run.parent_struct, 509s # &_com_acme_coyote_method_info_sleep.parent_struct, 509s # &_com_acme_coyote_method_info_attack.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Surprised", 509s # NULL, 509s # NULL 509s # }, 509s # "surprised" 509s # }; 509s # 509s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 509s # { 509s # &_com_acme_coyote_signal_info_surprised.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Mood", 509s # (gchar *) "s", 509s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 509s # NULL 509s # }, 509s # "mood", 509s # FALSE, 509s # TRUE 509s # }; 509s # 509s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 509s # { 509s # &_com_acme_coyote_property_info_mood.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 509s # { 509s # { 509s # -1, 509s # (gchar *) "com.acme.Coyote", 509s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 509s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 509s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 509s # NULL 509s # }, 509s # "com-acme-coyote", 509s # }; 509s # 509s # 509s # /** 509s # * com_acme_coyote_interface_info: 509s # * 509s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 509s # * 509s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 509s # */ 509s # GDBusInterfaceInfo * 509s # com_acme_coyote_interface_info (void) 509s # { 509s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_override_properties: 509s # * @klass: The class structure for a #GObject derived class. 509s # * @property_id_begin: The property id to assign to the first overridden property. 509s # * 509s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 509s # * The properties are overridden in the order they are defined. 509s # * 509s # * Returns: The last property id. 509s # */ 509s # guint 509s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 509s # { 509s # g_object_class_override_property (klass, property_id_begin++, "mood"); 509s # return property_id_begin - 1; 509s # } 509s # 509s # 509s # inline static void 509s # com_acme_coyote_signal_marshal_surprised ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # g_cclosure_marshal_VOID__VOID (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # inline static void 509s # com_acme_coyote_method_marshal_run ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # inline static void 509s # com_acme_coyote_method_marshal_sleep ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # inline static void 509s # com_acme_coyote_method_marshal_attack ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # 509s # /** 509s # * ComAcmeCoyote: 509s # * 509s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 509s # */ 509s # 509s # /** 509s # * ComAcmeCoyoteIface: 509s # * @parent_iface: The parent interface. 509s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 509s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 509s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 509s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 509s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 509s # * 509s # * Virtual table for the D-Bus interface com.acme.Coyote. 509s # */ 509s # 509s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 509s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 509s # 509s # static void 509s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 509s # { 509s # /* GObject signals for incoming D-Bus method calls: */ 509s # /** 509s # * ComAcmeCoyote::handle-run: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-run", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # com_acme_coyote_method_marshal_run, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # /** 509s # * ComAcmeCoyote::handle-sleep: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-sleep", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # com_acme_coyote_method_marshal_sleep, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # /** 509s # * ComAcmeCoyote::handle-attack: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-attack", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # com_acme_coyote_method_marshal_attack, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # /* GObject signals for received D-Bus signals: */ 509s # /** 509s # * ComAcmeCoyote::surprised: 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 509s # * 509s # * 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. 509s # */ 509s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 509s # g_signal_new ("surprised", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 509s # NULL, 509s # NULL, 509s # com_acme_coyote_signal_marshal_surprised, 509s # G_TYPE_NONE, 509s # 0); 509s # 509s # /* GObject properties for D-Bus properties: */ 509s # /** 509s # * ComAcmeCoyote:mood: 509s # * 509s # * Represents the D-Bus property "Mood". 509s # * 509s # * 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. 509s # */ 509s # g_object_interface_install_property (iface, 509s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_get_mood: (skip) 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * Gets the value of the "Mood" D-Bus property. 509s # * 509s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # const gchar * 509s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 509s # { 509s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 509s # 509s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_dup_mood: (skip) 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * Gets a copy of the "Mood" D-Bus property. 509s # * 509s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 509s # * 509s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 509s # */ 509s # gchar * 509s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 509s # { 509s # gchar *value; 509s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 509s # return value; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_set_mood: (skip) 509s # * @object: A #ComAcmeCoyote. 509s # * @value: The value to set. 509s # * 509s # * Sets the "Mood" D-Bus property to @value. 509s # * 509s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 509s # */ 509s # void 509s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 509s # { 509s # g_object_set (G_OBJECT (object), "mood", value, NULL); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_emit_surprised: 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * Emits the "Surprised" D-Bus signal. 509s # */ 509s # void 509s # com_acme_coyote_emit_surprised ( 509s # ComAcmeCoyote *object) 509s # { 509s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_run: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the Run() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # com_acme_coyote_call_run ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "Run", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_run_finish: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with com_acme_coyote_call_run(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_run_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_run_sync: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_run_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "Run", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_sleep: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # com_acme_coyote_call_sleep ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "Sleep", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_sleep_finish: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with com_acme_coyote_call_sleep(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_sleep_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_sleep_sync: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_sleep_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "Sleep", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_attack: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # com_acme_coyote_call_attack ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "Attack", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_attack_finish: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with com_acme_coyote_call_attack(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_attack_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_attack_sync: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_attack_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "Attack", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_complete_run: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # com_acme_coyote_complete_run ( 509s # ComAcmeCoyote *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_complete_sleep: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # com_acme_coyote_complete_sleep ( 509s # ComAcmeCoyote *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_complete_attack: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # com_acme_coyote_complete_attack ( 509s # ComAcmeCoyote *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * ComAcmeCoyoteProxy: 509s # * 509s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * ComAcmeCoyoteProxyClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #ComAcmeCoyoteProxy. 509s # */ 509s # 509s # struct _ComAcmeCoyoteProxyPrivate 509s # { 509s # GData *qdata; 509s # }; 509s # 509s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 509s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 509s # 509s # #endif 509s # static void 509s # com_acme_coyote_proxy_finalize (GObject *object) 509s # { 509s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 509s # g_datalist_clear (&proxy->priv->qdata); 509s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_get_property (GObject *object, 509s # guint prop_id, 509s # GValue *value, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # GVariant *variant; 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 509s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 509s # if (info->use_gvariant) 509s # { 509s # g_value_set_variant (value, variant); 509s # } 509s # else 509s # { 509s # if (variant != NULL) 509s # g_dbus_gvariant_to_gvalue (variant, value); 509s # } 509s # if (variant != NULL) 509s # g_variant_unref (variant); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 509s # GAsyncResult *res, 509s # gpointer user_data) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info = user_data; 509s # GError *error; 509s # GVariant *_ret; 509s # error = NULL; 509s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 509s # if (!_ret) 509s # { 509s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 509s # info->parent_struct.name, 509s # error->message, g_quark_to_string (error->domain), error->code); 509s # g_error_free (error); 509s # } 509s # else 509s # { 509s # g_variant_unref (_ret); 509s # } 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_set_property (GObject *object, 509s # guint prop_id, 509s # const GValue *value, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # GVariant *variant; 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 509s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 509s # g_dbus_proxy_call (G_DBUS_PROXY (object), 509s # "org.freedesktop.DBus.Properties.Set", 509s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 509s # g_variant_unref (variant); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 509s # const gchar *sender_name G_GNUC_UNUSED, 509s # const gchar *signal_name, 509s # GVariant *parameters) 509s # { 509s # _ExtendedGDBusSignalInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # gsize n; 509s # guint signal_id; 509s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 509s # if (info == NULL) 509s # return; 509s # num_params = g_variant_n_children (parameters); 509s # paramv = g_new0 (GValue, num_params + 1); 509s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 509s # g_value_set_object (¶mv[0], proxy); 509s # g_variant_iter_init (&iter, parameters); 509s # n = 1; 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 509s # g_signal_emitv (paramv, signal_id, 0, NULL); 509s # for (n = 0; n < num_params + 1; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 509s # GVariant *changed_properties, 509s # const gchar *const *invalidated_properties) 509s # { 509s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 509s # guint n; 509s # const gchar *key; 509s # GVariantIter *iter; 509s # _ExtendedGDBusPropertyInfo *info; 509s # g_variant_get (changed_properties, "a{sv}", &iter); 509s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 509s # g_datalist_remove_data (&proxy->priv->qdata, key); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # g_variant_iter_free (iter); 509s # for (n = 0; invalidated_properties[n] != NULL; n++) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 509s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # } 509s # 509s # static const gchar * 509s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 509s # { 509s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 509s # GVariant *variant; 509s # const gchar *value = NULL; 509s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 509s # if (variant != NULL) 509s # { 509s # value = g_variant_get_string (variant, NULL); 509s # g_variant_unref (variant); 509s # } 509s # return value; 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 509s # #else 509s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 509s # #endif 509s # 509s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusProxyClass *proxy_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 509s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 509s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 509s # 509s # proxy_class = G_DBUS_PROXY_CLASS (klass); 509s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 509s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 509s # 509s # com_acme_coyote_override_properties (gobject_class, 1); 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 509s # { 509s # iface->get_mood = com_acme_coyote_proxy_get_mood; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # com_acme_coyote_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with com_acme_coyote_proxy_new(). 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_sync: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_for_bus: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # com_acme_coyote_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_for_bus_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_for_bus_sync: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * ComAcmeCoyoteSkeleton: 509s # * 509s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * ComAcmeCoyoteSkeletonClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #ComAcmeCoyoteSkeleton. 509s # */ 509s # 509s # struct _ComAcmeCoyoteSkeletonPrivate 509s # { 509s # GValue *properties; 509s # GList *changed_properties; 509s # GSource *changed_properties_idle_source; 509s # GMainContext *context; 509s # GMutex lock; 509s # }; 509s # 509s # static void 509s # _com_acme_coyote_skeleton_handle_method_call ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name, 509s # const gchar *method_name, 509s # GVariant *parameters, 509s # GDBusMethodInvocation *invocation, 509s # gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # _ExtendedGDBusMethodInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # guint num_extra; 509s # gsize n; 509s # guint signal_id; 509s # GValue return_value = G_VALUE_INIT; 509s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 509s # g_assert (info != NULL); 509s # num_params = g_variant_n_children (parameters); 509s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 509s # n = 0; 509s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 509s # g_value_set_object (¶mv[n++], skeleton); 509s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 509s # g_value_set_object (¶mv[n++], invocation); 509s # if (info->pass_fdlist) 509s # { 509s # #ifdef G_OS_UNIX 509s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 509s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 509s # #else 509s # g_assert_not_reached (); 509s # #endif 509s # } 509s # g_variant_iter_init (&iter, parameters); 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 509s # g_value_init (&return_value, G_TYPE_BOOLEAN); 509s # g_signal_emitv (paramv, signal_id, 0, &return_value); 509s # if (!g_value_get_boolean (&return_value)) 509s # 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); 509s # g_value_unset (&return_value); 509s # for (n = 0; n < num_params + num_extra; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static GVariant * 509s # _com_acme_coyote_skeleton_handle_get_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # GVariant *ret; 509s # ret = NULL; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # g_value_init (&value, pspec->value_type); 509s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 509s # g_value_unset (&value); 509s # } 509s # return ret; 509s # } 509s # 509s # static gboolean 509s # _com_acme_coyote_skeleton_handle_set_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GVariant *variant, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # gboolean ret; 509s # ret = FALSE; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # if (info->use_gvariant) 509s # g_value_set_variant (&value, variant); 509s # else 509s # g_dbus_gvariant_to_gvalue (variant, &value); 509s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # g_value_unset (&value); 509s # ret = TRUE; 509s # } 509s # return ret; 509s # } 509s # 509s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 509s # { 509s # _com_acme_coyote_skeleton_handle_method_call, 509s # _com_acme_coyote_skeleton_handle_get_property, 509s # _com_acme_coyote_skeleton_handle_set_property, 509s # {NULL} 509s # }; 509s # 509s # static GDBusInterfaceInfo * 509s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return com_acme_coyote_interface_info (); 509s # } 509s # 509s # static GDBusInterfaceVTable * 509s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 509s # } 509s # 509s # static GVariant * 509s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 509s # 509s # GVariantBuilder builder; 509s # guint n; 509s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 509s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 509s # goto out; 509s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 509s # { 509s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 509s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 509s # { 509s # GVariant *value; 509s # 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); 509s # if (value != NULL) 509s # { 509s # g_variant_take_ref (value); 509s # g_variant_builder_add (&builder, "{sv}", info->name, value); 509s # g_variant_unref (value); 509s # } 509s # } 509s # } 509s # out: 509s # return g_variant_builder_end (&builder); 509s # } 509s # 509s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 509s # 509s # static void 509s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 509s # gboolean emit_changed = FALSE; 509s # 509s # g_mutex_lock (&skeleton->priv->lock); 509s # if (skeleton->priv->changed_properties_idle_source != NULL) 509s # { 509s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 509s # skeleton->priv->changed_properties_idle_source = NULL; 509s # emit_changed = TRUE; 509s # } 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # 509s # if (emit_changed) 509s # _com_acme_coyote_emit_changed (skeleton); 509s # } 509s # 509s # static void 509s # _com_acme_coyote_on_signal_surprised ( 509s # ComAcmeCoyote *object) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # 509s # GList *connections, *l; 509s # GVariant *signal_variant; 509s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 509s # 509s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 509s # for (l = connections; l != NULL; l = l->next) 509s # { 509s # GDBusConnection *connection = l->data; 509s # g_dbus_connection_emit_signal (connection, 509s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 509s # signal_variant, NULL); 509s # } 509s # g_variant_unref (signal_variant); 509s # g_list_free_full (connections, g_object_unref); 509s # } 509s # 509s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 509s # 509s # #endif 509s # static void 509s # com_acme_coyote_skeleton_finalize (GObject *object) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # guint n; 509s # for (n = 0; n < 1; n++) 509s # g_value_unset (&skeleton->priv->properties[n]); 509s # g_free (skeleton->priv->properties); 509s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 509s # if (skeleton->priv->changed_properties_idle_source != NULL) 509s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 509s # g_main_context_unref (skeleton->priv->context); 509s # g_mutex_clear (&skeleton->priv->lock); 509s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_get_property (GObject *object, 509s # guint prop_id, 509s # GValue *value, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # g_mutex_lock (&skeleton->priv->lock); 509s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # } 509s # 509s # static gboolean 509s # _com_acme_coyote_emit_changed (gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # GList *l; 509s # GVariantBuilder builder; 509s # GVariantBuilder invalidated_builder; 509s # guint num_changes; 509s # 509s # g_mutex_lock (&skeleton->priv->lock); 509s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 509s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 509s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 509s # { 509s # ChangedProperty *cp = l->data; 509s # GVariant *variant; 509s # const GValue *cur_value; 509s # 509s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 509s # if (!_g_value_equal (cur_value, &cp->orig_value)) 509s # { 509s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 509s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 509s # g_variant_unref (variant); 509s # num_changes++; 509s # } 509s # } 509s # if (num_changes > 0) 509s # { 509s # GList *connections, *ll; 509s # GVariant *signal_variant; 509s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 509s # &builder, &invalidated_builder)); 509s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 509s # for (ll = connections; ll != NULL; ll = ll->next) 509s # { 509s # GDBusConnection *connection = ll->data; 509s # 509s # g_dbus_connection_emit_signal (connection, 509s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 509s # "org.freedesktop.DBus.Properties", 509s # "PropertiesChanged", 509s # signal_variant, 509s # NULL); 509s # } 509s # g_variant_unref (signal_variant); 509s # g_list_free_full (connections, g_object_unref); 509s # } 509s # else 509s # { 509s # g_variant_builder_clear (&builder); 509s # g_variant_builder_clear (&invalidated_builder); 509s # } 509s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 509s # skeleton->priv->changed_properties = NULL; 509s # skeleton->priv->changed_properties_idle_source = NULL; 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # return FALSE; 509s # } 509s # 509s # static void 509s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 509s # { 509s # ChangedProperty *cp; 509s # GList *l; 509s # cp = NULL; 509s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 509s # { 509s # ChangedProperty *i_cp = l->data; 509s # if (i_cp->info == info) 509s # { 509s # cp = i_cp; 509s # break; 509s # } 509s # } 509s # if (cp == NULL) 509s # { 509s # cp = g_new0 (ChangedProperty, 1); 509s # cp->prop_id = prop_id; 509s # cp->info = info; 509s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 509s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 509s # g_value_copy (orig_value, &cp->orig_value); 509s # } 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_notify (GObject *object, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # g_mutex_lock (&skeleton->priv->lock); 509s # if (skeleton->priv->changed_properties != NULL && 509s # skeleton->priv->changed_properties_idle_source == NULL) 509s # { 509s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 509s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 509s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 509s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 509s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 509s # g_source_unref (skeleton->priv->changed_properties_idle_source); 509s # } 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_set_property (GObject *object, 509s # guint prop_id, 509s # const GValue *value, 509s # GParamSpec *pspec) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 509s # g_mutex_lock (&skeleton->priv->lock); 509s # g_object_freeze_notify (object); 509s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 509s # { 509s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 509s # info->emits_changed_signal) 509s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 509s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 509s # g_object_notify_by_pspec (object, pspec); 509s # } 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # g_object_thaw_notify (object); 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 509s # #else 509s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 509s # #endif 509s # 509s # g_mutex_init (&skeleton->priv->lock); 509s # skeleton->priv->context = g_main_context_ref_thread_default (); 509s # skeleton->priv->properties = g_new0 (GValue, 1); 509s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 509s # } 509s # 509s # static const gchar * 509s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # const gchar *value; 509s # g_mutex_lock (&skeleton->priv->lock); 509s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # return value; 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusInterfaceSkeletonClass *skeleton_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 509s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 509s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 509s # gobject_class->notify = com_acme_coyote_skeleton_notify; 509s # 509s # 509s # com_acme_coyote_override_properties (gobject_class, 1); 509s # 509s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 509s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 509s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 509s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 509s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 509s # { 509s # iface->surprised = _com_acme_coyote_on_signal_surprised; 509s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_skeleton_new: 509s # * 509s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_skeleton_new (void) 509s # { 509s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 509s # } 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplafzzb3k/tmpu7clk6xw2.xml', '/tmp/tmplafzzb3k/tmpy0x1d7jm1.xml', '--output', '-', '--body'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifdef HAVE_CONFIG_H 509s # # include "config.h" 509s # #endif 509s # 509s # #include 509s # #ifdef G_OS_UNIX 509s # # include 509s # #endif 509s # 509s # #ifdef G_ENABLE_DEBUG 509s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 509s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 509s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 509s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 509s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 509s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 509s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 509s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 509s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 509s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 509s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 509s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 509s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 509s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 509s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 509s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 509s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 509s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 509s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 509s # #else /* !G_ENABLE_DEBUG */ 509s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 509s # * Do not access GValues directly in your code. Instead, use the 509s # * g_value_get_*() functions 509s # */ 509s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 509s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 509s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 509s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 509s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 509s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 509s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 509s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 509s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 509s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 509s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 509s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 509s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 509s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 509s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 509s # #endif /* !G_ENABLE_DEBUG */ 509s # 509s # typedef struct 509s # { 509s # GDBusArgInfo parent_struct; 509s # gboolean use_gvariant; 509s # } _ExtendedGDBusArgInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusMethodInfo parent_struct; 509s # const gchar *signal_name; 509s # gboolean pass_fdlist; 509s # } _ExtendedGDBusMethodInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusSignalInfo parent_struct; 509s # const gchar *signal_name; 509s # } _ExtendedGDBusSignalInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusPropertyInfo parent_struct; 509s # const gchar *hyphen_name; 509s # guint use_gvariant : 1; 509s # guint emits_changed_signal : 1; 509s # } _ExtendedGDBusPropertyInfo; 509s # 509s # typedef struct 509s # { 509s # GDBusInterfaceInfo parent_struct; 509s # const gchar *hyphen_name; 509s # } _ExtendedGDBusInterfaceInfo; 509s # 509s # typedef struct 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # guint prop_id; 509s # GValue orig_value; /* the value before the change */ 509s # } ChangedProperty; 509s # 509s # static void 509s # _changed_property_free (ChangedProperty *data) 509s # { 509s # g_value_unset (&data->orig_value); 509s # g_free (data); 509s # } 509s # 509s # static gboolean 509s # _g_strv_equal0 (gchar **a, gchar **b) 509s # { 509s # gboolean ret = FALSE; 509s # guint n; 509s # if (a == NULL && b == NULL) 509s # { 509s # ret = TRUE; 509s # goto out; 509s # } 509s # if (a == NULL || b == NULL) 509s # goto out; 509s # if (g_strv_length (a) != g_strv_length (b)) 509s # goto out; 509s # for (n = 0; a[n] != NULL; n++) 509s # if (g_strcmp0 (a[n], b[n]) != 0) 509s # goto out; 509s # ret = TRUE; 509s # out: 509s # return ret; 509s # } 509s # 509s # static gboolean 509s # _g_variant_equal0 (GVariant *a, GVariant *b) 509s # { 509s # gboolean ret = FALSE; 509s # if (a == NULL && b == NULL) 509s # { 509s # ret = TRUE; 509s # goto out; 509s # } 509s # if (a == NULL || b == NULL) 509s # goto out; 509s # ret = g_variant_equal (a, b); 509s # out: 509s # return ret; 509s # } 509s # 509s # G_GNUC_UNUSED static gboolean 509s # _g_value_equal (const GValue *a, const GValue *b) 509s # { 509s # gboolean ret = FALSE; 509s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 509s # switch (G_VALUE_TYPE (a)) 509s # { 509s # case G_TYPE_BOOLEAN: 509s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 509s # break; 509s # case G_TYPE_UCHAR: 509s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 509s # break; 509s # case G_TYPE_INT: 509s # ret = (g_value_get_int (a) == g_value_get_int (b)); 509s # break; 509s # case G_TYPE_UINT: 509s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 509s # break; 509s # case G_TYPE_INT64: 509s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 509s # break; 509s # case G_TYPE_UINT64: 509s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 509s # break; 509s # case G_TYPE_DOUBLE: 509s # { 509s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 509s # gdouble da = g_value_get_double (a); 509s # gdouble db = g_value_get_double (b); 509s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 509s # } 509s # break; 509s # case G_TYPE_STRING: 509s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 509s # break; 509s # case G_TYPE_VARIANT: 509s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 509s # break; 509s # default: 509s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 509s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 509s # else 509s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 509s # break; 509s # } 509s # return ret; 509s # } 509s # 509s # static void 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint G_GNUC_UNUSED, 509s # void *marshal_data) 509s # { 509s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 509s # (void *data1, 509s # GDBusMethodInvocation *arg_method_invocation, 509s # void *data2); 509s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 509s # GCClosure *cc = (GCClosure*) closure; 509s # void *data1, *data2; 509s # gboolean v_return; 509s # 509s # g_return_if_fail (return_value != NULL); 509s # g_return_if_fail (n_param_values == 2); 509s # 509s # if (G_CCLOSURE_SWAP_DATA (closure)) 509s # { 509s # data1 = closure->data; 509s # data2 = g_value_peek_pointer (param_values + 0); 509s # } 509s # else 509s # { 509s # data1 = g_value_peek_pointer (param_values + 0); 509s # data2 = closure->data; 509s # } 509s # 509s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 509s # (marshal_data ? marshal_data : cc->callback); 509s # 509s # v_return = 509s # callback (data1, 509s # g_marshal_value_peek_object (param_values + 1), 509s # data2); 509s # 509s # g_value_set_boolean (return_value, v_return); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ 509s # * Code for interface org.project.Bar.Frobnicator 509s # * ------------------------------------------------------------------------ 509s # */ 509s # 509s # /** 509s # * SECTION:OrgProjectBarFrobnicator 509s # * @title: OrgProjectBarFrobnicator 509s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 509s # * 509s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 509s # */ 509s # 509s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 509s # 509s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 509s # { 509s # { 509s # -1, 509s # (gchar *) "RandomMethod", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-random-method", 509s # FALSE 509s # }; 509s # 509s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 509s # { 509s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 509s # { 509s # { 509s # -1, 509s # (gchar *) "org.project.Bar.Frobnicator", 509s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "org-project-bar-frobnicator", 509s # }; 509s # 509s # 509s # /** 509s # * org_project_bar_frobnicator_interface_info: 509s # * 509s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 509s # * 509s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 509s # */ 509s # GDBusInterfaceInfo * 509s # org_project_bar_frobnicator_interface_info (void) 509s # { 509s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_override_properties: 509s # * @klass: The class structure for a #GObject derived class. 509s # * @property_id_begin: The property id to assign to the first overridden property. 509s # * 509s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 509s # * The properties are overridden in the order they are defined. 509s # * 509s # * Returns: The last property id. 509s # */ 509s # guint 509s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 509s # { 509s # return property_id_begin - 1; 509s # } 509s # 509s # 509s # inline static void 509s # org_project_bar_frobnicator_method_marshal_random_method ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # 509s # /** 509s # * OrgProjectBarFrobnicator: 509s # * 509s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 509s # */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorIface: 509s # * @parent_iface: The parent interface. 509s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 509s # * 509s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 509s # */ 509s # 509s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 509s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 509s # 509s # static void 509s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 509s # { 509s # /* GObject signals for incoming D-Bus method calls: */ 509s # /** 509s # * OrgProjectBarFrobnicator::handle-random-method: 509s # * @object: A #OrgProjectBarFrobnicator. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-random-method", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # org_project_bar_frobnicator_method_marshal_random_method, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_call_random_method: 509s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 509s # * 509s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # org_project_bar_frobnicator_call_random_method ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "RandomMethod", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_call_random_method_finish: 509s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # org_project_bar_frobnicator_call_random_method_finish ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_call_random_method_sync: 509s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # org_project_bar_frobnicator_call_random_method_sync ( 509s # OrgProjectBarFrobnicator *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "RandomMethod", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_complete_random_method: 509s # * @object: A #OrgProjectBarFrobnicator. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # org_project_bar_frobnicator_complete_random_method ( 509s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorProxy: 509s # * 509s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorProxyClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #OrgProjectBarFrobnicatorProxy. 509s # */ 509s # 509s # struct _OrgProjectBarFrobnicatorProxyPrivate 509s # { 509s # GData *qdata; 509s # }; 509s # 509s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 509s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 509s # 509s # #endif 509s # static void 509s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 509s # { 509s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 509s # g_datalist_clear (&proxy->priv->qdata); 509s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 509s # guint prop_id G_GNUC_UNUSED, 509s # GValue *value G_GNUC_UNUSED, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 509s # guint prop_id G_GNUC_UNUSED, 509s # const GValue *value G_GNUC_UNUSED, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 509s # const gchar *sender_name G_GNUC_UNUSED, 509s # const gchar *signal_name, 509s # GVariant *parameters) 509s # { 509s # _ExtendedGDBusSignalInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # gsize n; 509s # guint signal_id; 509s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 509s # if (info == NULL) 509s # return; 509s # num_params = g_variant_n_children (parameters); 509s # paramv = g_new0 (GValue, num_params + 1); 509s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_value_set_object (¶mv[0], proxy); 509s # g_variant_iter_init (&iter, parameters); 509s # n = 1; 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_signal_emitv (paramv, signal_id, 0, NULL); 509s # for (n = 0; n < num_params + 1; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 509s # GVariant *changed_properties, 509s # const gchar *const *invalidated_properties) 509s # { 509s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 509s # guint n; 509s # const gchar *key; 509s # GVariantIter *iter; 509s # _ExtendedGDBusPropertyInfo *info; 509s # g_variant_get (changed_properties, "a{sv}", &iter); 509s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 509s # g_datalist_remove_data (&proxy->priv->qdata, key); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # g_variant_iter_free (iter); 509s # for (n = 0; invalidated_properties[n] != NULL; n++) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 509s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 509s # #else 509s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 509s # #endif 509s # 509s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusProxyClass *proxy_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 509s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 509s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 509s # 509s # proxy_class = G_DBUS_PROXY_CLASS (klass); 509s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 509s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # org_project_bar_frobnicator_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_sync: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_for_bus: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # org_project_bar_frobnicator_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorSkeleton: 509s # * 509s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * OrgProjectBarFrobnicatorSkeletonClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 509s # */ 509s # 509s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 509s # { 509s # GValue *properties; 509s # GList *changed_properties; 509s # GSource *changed_properties_idle_source; 509s # GMainContext *context; 509s # GMutex lock; 509s # }; 509s # 509s # static void 509s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name, 509s # const gchar *method_name, 509s # GVariant *parameters, 509s # GDBusMethodInvocation *invocation, 509s # gpointer user_data) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 509s # _ExtendedGDBusMethodInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # guint num_extra; 509s # gsize n; 509s # guint signal_id; 509s # GValue return_value = G_VALUE_INIT; 509s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 509s # g_assert (info != NULL); 509s # num_params = g_variant_n_children (parameters); 509s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 509s # n = 0; 509s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_value_set_object (¶mv[n++], skeleton); 509s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 509s # g_value_set_object (¶mv[n++], invocation); 509s # if (info->pass_fdlist) 509s # { 509s # #ifdef G_OS_UNIX 509s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 509s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 509s # #else 509s # g_assert_not_reached (); 509s # #endif 509s # } 509s # g_variant_iter_init (&iter, parameters); 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 509s # g_value_init (&return_value, G_TYPE_BOOLEAN); 509s # g_signal_emitv (paramv, signal_id, 0, &return_value); 509s # if (!g_value_get_boolean (&return_value)) 509s # 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); 509s # g_value_unset (&return_value); 509s # for (n = 0; n < num_params + num_extra; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static GVariant * 509s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # GVariant *ret; 509s # ret = NULL; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # g_value_init (&value, pspec->value_type); 509s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 509s # g_value_unset (&value); 509s # } 509s # return ret; 509s # } 509s # 509s # static gboolean 509s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GVariant *variant, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # gboolean ret; 509s # ret = FALSE; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # if (info->use_gvariant) 509s # g_value_set_variant (&value, variant); 509s # else 509s # g_dbus_gvariant_to_gvalue (variant, &value); 509s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # g_value_unset (&value); 509s # ret = TRUE; 509s # } 509s # return ret; 509s # } 509s # 509s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 509s # { 509s # _org_project_bar_frobnicator_skeleton_handle_method_call, 509s # _org_project_bar_frobnicator_skeleton_handle_get_property, 509s # _org_project_bar_frobnicator_skeleton_handle_set_property, 509s # {NULL} 509s # }; 509s # 509s # static GDBusInterfaceInfo * 509s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return org_project_bar_frobnicator_interface_info (); 509s # } 509s # 509s # static GDBusInterfaceVTable * 509s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 509s # } 509s # 509s # static GVariant * 509s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 509s # 509s # GVariantBuilder builder; 509s # guint n; 509s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 509s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 509s # goto out; 509s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 509s # { 509s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 509s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 509s # { 509s # GVariant *value; 509s # 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); 509s # if (value != NULL) 509s # { 509s # g_variant_take_ref (value); 509s # g_variant_builder_add (&builder, "{sv}", info->name, value); 509s # g_variant_unref (value); 509s # } 509s # } 509s # } 509s # out: 509s # return g_variant_builder_end (&builder); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 509s # 509s # #endif 509s # static void 509s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 509s # { 509s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 509s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 509s # if (skeleton->priv->changed_properties_idle_source != NULL) 509s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 509s # g_main_context_unref (skeleton->priv->context); 509s # g_mutex_clear (&skeleton->priv->lock); 509s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 509s # #else 509s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 509s # #endif 509s # 509s # g_mutex_init (&skeleton->priv->lock); 509s # skeleton->priv->context = g_main_context_ref_thread_default (); 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusInterfaceSkeletonClass *skeleton_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 509s # 509s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 509s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 509s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 509s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 509s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 509s # { 509s # } 509s # 509s # /** 509s # * org_project_bar_frobnicator_skeleton_new: 509s # * 509s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 509s # * 509s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 509s # */ 509s # OrgProjectBarFrobnicator * 509s # org_project_bar_frobnicator_skeleton_new (void) 509s # { 509s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ 509s # * Code for interface com.acme.Coyote 509s # * ------------------------------------------------------------------------ 509s # */ 509s # 509s # /** 509s # * SECTION:ComAcmeCoyote 509s # * @title: ComAcmeCoyote 509s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 509s # * 509s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 509s # */ 509s # 509s # enum 509s # { 509s # _COM_ACME_COYOTE_SURPRISED, 509s # }; 509s # 509s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 509s # 509s # /* ---- Introspection data for com.acme.Coyote ---- */ 509s # 509s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Run", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-run", 509s # FALSE 509s # }; 509s # 509s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Sleep", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-sleep", 509s # FALSE 509s # }; 509s # 509s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Attack", 509s # NULL, 509s # NULL, 509s # NULL 509s # }, 509s # "handle-attack", 509s # FALSE 509s # }; 509s # 509s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 509s # { 509s # &_com_acme_coyote_method_info_run.parent_struct, 509s # &_com_acme_coyote_method_info_sleep.parent_struct, 509s # &_com_acme_coyote_method_info_attack.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Surprised", 509s # NULL, 509s # NULL 509s # }, 509s # "surprised" 509s # }; 509s # 509s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 509s # { 509s # &_com_acme_coyote_signal_info_surprised.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 509s # { 509s # { 509s # -1, 509s # (gchar *) "Mood", 509s # (gchar *) "s", 509s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 509s # NULL 509s # }, 509s # "mood", 509s # FALSE, 509s # TRUE 509s # }; 509s # 509s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 509s # { 509s # &_com_acme_coyote_property_info_mood.parent_struct, 509s # NULL 509s # }; 509s # 509s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 509s # { 509s # { 509s # -1, 509s # (gchar *) "com.acme.Coyote", 509s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 509s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 509s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 509s # NULL 509s # }, 509s # "com-acme-coyote", 509s # }; 509s # 509s # 509s # /** 509s # * com_acme_coyote_interface_info: 509s # * 509s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 509s # * 509s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 509s # */ 509s # GDBusInterfaceInfo * 509s # com_acme_coyote_interface_info (void) 509s # { 509s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_override_properties: 509s # * @klass: The class structure for a #GObject derived class. 509s # * @property_id_begin: The property id to assign to the first overridden property. 509s # * 509s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 509s # * The properties are overridden in the order they are defined. 509s # * 509s # * Returns: The last property id. 509s # */ 509s # guint 509s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 509s # { 509s # g_object_class_override_property (klass, property_id_begin++, "mood"); 509s # return property_id_begin - 1; 509s # } 509s # 509s # 509s # inline static void 509s # com_acme_coyote_signal_marshal_surprised ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # g_cclosure_marshal_VOID__VOID (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # inline static void 509s # com_acme_coyote_method_marshal_run ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # inline static void 509s # com_acme_coyote_method_marshal_sleep ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # inline static void 509s # com_acme_coyote_method_marshal_attack ( 509s # GClosure *closure, 509s # GValue *return_value, 509s # unsigned int n_param_values, 509s # const GValue *param_values, 509s # void *invocation_hint, 509s # void *marshal_data) 509s # { 509s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 509s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 509s # } 509s # 509s # 509s # /** 509s # * ComAcmeCoyote: 509s # * 509s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 509s # */ 509s # 509s # /** 509s # * ComAcmeCoyoteIface: 509s # * @parent_iface: The parent interface. 509s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 509s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 509s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 509s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 509s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 509s # * 509s # * Virtual table for the D-Bus interface com.acme.Coyote. 509s # */ 509s # 509s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 509s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 509s # 509s # static void 509s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 509s # { 509s # /* GObject signals for incoming D-Bus method calls: */ 509s # /** 509s # * ComAcmeCoyote::handle-run: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-run", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # com_acme_coyote_method_marshal_run, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # /** 509s # * ComAcmeCoyote::handle-sleep: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-sleep", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # com_acme_coyote_method_marshal_sleep, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # /** 509s # * ComAcmeCoyote::handle-attack: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: A #GDBusMethodInvocation. 509s # * 509s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # g_signal_new ("handle-attack", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 509s # g_signal_accumulator_true_handled, 509s # NULL, 509s # com_acme_coyote_method_marshal_attack, 509s # G_TYPE_BOOLEAN, 509s # 1, 509s # G_TYPE_DBUS_METHOD_INVOCATION); 509s # 509s # /* GObject signals for received D-Bus signals: */ 509s # /** 509s # * ComAcmeCoyote::surprised: 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 509s # * 509s # * 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. 509s # */ 509s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 509s # g_signal_new ("surprised", 509s # G_TYPE_FROM_INTERFACE (iface), 509s # G_SIGNAL_RUN_LAST, 509s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 509s # NULL, 509s # NULL, 509s # com_acme_coyote_signal_marshal_surprised, 509s # G_TYPE_NONE, 509s # 0); 509s # 509s # /* GObject properties for D-Bus properties: */ 509s # /** 509s # * ComAcmeCoyote:mood: 509s # * 509s # * Represents the D-Bus property "Mood". 509s # * 509s # * 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. 509s # */ 509s # g_object_interface_install_property (iface, 509s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_get_mood: (skip) 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * Gets the value of the "Mood" D-Bus property. 509s # * 509s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 509s # * 509s # * 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. 509s # * 509s # * 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. 509s # */ 509s # const gchar * 509s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 509s # { 509s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 509s # 509s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_dup_mood: (skip) 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * Gets a copy of the "Mood" D-Bus property. 509s # * 509s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 509s # * 509s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 509s # */ 509s # gchar * 509s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 509s # { 509s # gchar *value; 509s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 509s # return value; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_set_mood: (skip) 509s # * @object: A #ComAcmeCoyote. 509s # * @value: The value to set. 509s # * 509s # * Sets the "Mood" D-Bus property to @value. 509s # * 509s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 509s # */ 509s # void 509s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 509s # { 509s # g_object_set (G_OBJECT (object), "mood", value, NULL); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_emit_surprised: 509s # * @object: A #ComAcmeCoyote. 509s # * 509s # * Emits the "Surprised" D-Bus signal. 509s # */ 509s # void 509s # com_acme_coyote_emit_surprised ( 509s # ComAcmeCoyote *object) 509s # { 509s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_run: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the Run() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # com_acme_coyote_call_run ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "Run", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_run_finish: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with com_acme_coyote_call_run(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_run_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_run_sync: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_run_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "Run", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_sleep: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # com_acme_coyote_call_sleep ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "Sleep", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_sleep_finish: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with com_acme_coyote_call_sleep(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_sleep_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_sleep_sync: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_sleep_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "Sleep", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_attack: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 509s # */ 509s # void 509s # com_acme_coyote_call_attack ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 509s # "Attack", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # callback, 509s # user_data); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_attack_finish: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Finishes an operation started with com_acme_coyote_call_attack(). 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_attack_finish ( 509s # ComAcmeCoyote *proxy, 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_call_attack_sync: 509s # * @proxy: A #ComAcmeCoyoteProxy. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL. 509s # * 509s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 509s # * 509s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 509s # */ 509s # gboolean 509s # com_acme_coyote_call_attack_sync ( 509s # ComAcmeCoyote *proxy, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GVariant *_ret; 509s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 509s # "Attack", 509s # g_variant_new ("()"), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # cancellable, 509s # error); 509s # if (_ret == NULL) 509s # goto _out; 509s # g_variant_get (_ret, 509s # "()"); 509s # g_variant_unref (_ret); 509s # _out: 509s # return _ret != NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_complete_run: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # com_acme_coyote_complete_run ( 509s # ComAcmeCoyote *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_complete_sleep: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # com_acme_coyote_complete_sleep ( 509s # ComAcmeCoyote *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_complete_attack: 509s # * @object: A #ComAcmeCoyote. 509s # * @invocation: (transfer full): A #GDBusMethodInvocation. 509s # * 509s # * 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. 509s # * 509s # * This method will free @invocation, you cannot use it afterwards. 509s # */ 509s # void 509s # com_acme_coyote_complete_attack ( 509s # ComAcmeCoyote *object G_GNUC_UNUSED, 509s # GDBusMethodInvocation *invocation) 509s # { 509s # g_dbus_method_invocation_return_value (invocation, 509s # g_variant_new ("()")); 509s # } 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * ComAcmeCoyoteProxy: 509s # * 509s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * ComAcmeCoyoteProxyClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #ComAcmeCoyoteProxy. 509s # */ 509s # 509s # struct _ComAcmeCoyoteProxyPrivate 509s # { 509s # GData *qdata; 509s # }; 509s # 509s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 509s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 509s # 509s # #endif 509s # static void 509s # com_acme_coyote_proxy_finalize (GObject *object) 509s # { 509s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 509s # g_datalist_clear (&proxy->priv->qdata); 509s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_get_property (GObject *object, 509s # guint prop_id, 509s # GValue *value, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # GVariant *variant; 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 509s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 509s # if (info->use_gvariant) 509s # { 509s # g_value_set_variant (value, variant); 509s # } 509s # else 509s # { 509s # if (variant != NULL) 509s # g_dbus_gvariant_to_gvalue (variant, value); 509s # } 509s # if (variant != NULL) 509s # g_variant_unref (variant); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 509s # GAsyncResult *res, 509s # gpointer user_data) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info = user_data; 509s # GError *error; 509s # GVariant *_ret; 509s # error = NULL; 509s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 509s # if (!_ret) 509s # { 509s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 509s # info->parent_struct.name, 509s # error->message, g_quark_to_string (error->domain), error->code); 509s # g_error_free (error); 509s # } 509s # else 509s # { 509s # g_variant_unref (_ret); 509s # } 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_set_property (GObject *object, 509s # guint prop_id, 509s # const GValue *value, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # GVariant *variant; 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 509s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 509s # g_dbus_proxy_call (G_DBUS_PROXY (object), 509s # "org.freedesktop.DBus.Properties.Set", 509s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 509s # G_DBUS_CALL_FLAGS_NONE, 509s # -1, 509s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 509s # g_variant_unref (variant); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 509s # const gchar *sender_name G_GNUC_UNUSED, 509s # const gchar *signal_name, 509s # GVariant *parameters) 509s # { 509s # _ExtendedGDBusSignalInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # gsize n; 509s # guint signal_id; 509s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 509s # if (info == NULL) 509s # return; 509s # num_params = g_variant_n_children (parameters); 509s # paramv = g_new0 (GValue, num_params + 1); 509s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 509s # g_value_set_object (¶mv[0], proxy); 509s # g_variant_iter_init (&iter, parameters); 509s # n = 1; 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 509s # g_signal_emitv (paramv, signal_id, 0, NULL); 509s # for (n = 0; n < num_params + 1; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 509s # GVariant *changed_properties, 509s # const gchar *const *invalidated_properties) 509s # { 509s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 509s # guint n; 509s # const gchar *key; 509s # GVariantIter *iter; 509s # _ExtendedGDBusPropertyInfo *info; 509s # g_variant_get (changed_properties, "a{sv}", &iter); 509s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 509s # g_datalist_remove_data (&proxy->priv->qdata, key); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # g_variant_iter_free (iter); 509s # for (n = 0; invalidated_properties[n] != NULL; n++) 509s # { 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 509s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 509s # if (info != NULL) 509s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 509s # } 509s # } 509s # 509s # static const gchar * 509s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 509s # { 509s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 509s # GVariant *variant; 509s # const gchar *value = NULL; 509s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 509s # if (variant != NULL) 509s # { 509s # value = g_variant_get_string (variant, NULL); 509s # g_variant_unref (variant); 509s # } 509s # return value; 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 509s # #else 509s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 509s # #endif 509s # 509s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusProxyClass *proxy_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 509s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 509s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 509s # 509s # proxy_class = G_DBUS_PROXY_CLASS (klass); 509s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 509s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 509s # 509s # com_acme_coyote_override_properties (gobject_class, 1); 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 509s # { 509s # iface->get_mood = com_acme_coyote_proxy_get_mood; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # com_acme_coyote_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with com_acme_coyote_proxy_new(). 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_sync: 509s # * @connection: A #GDBusConnection. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_for_bus: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 509s # * @user_data: User data to pass to @callback. 509s # * 509s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 509s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 509s # * 509s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 509s # */ 509s # void 509s # com_acme_coyote_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data) 509s # { 509s # 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); 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_for_bus_finish: 509s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 509s # * @error: Return location for error or %NULL 509s # * 509s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error) 509s # { 509s # GObject *ret; 509s # GObject *source_object; 509s # source_object = g_async_result_get_source_object (res); 509s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 509s # g_object_unref (source_object); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_proxy_new_for_bus_sync: 509s # * @bus_type: A #GBusType. 509s # * @flags: Flags from the #GDBusProxyFlags enumeration. 509s # * @name: A bus name (well-known or unique). 509s # * @object_path: An object path. 509s # * @cancellable: (nullable): A #GCancellable or %NULL. 509s # * @error: Return location for error or %NULL 509s # * 509s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 509s # * 509s # * The calling thread is blocked until a reply is received. 509s # * 509s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error) 509s # { 509s # GInitable *ret; 509s # 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); 509s # if (ret != NULL) 509s # return COM_ACME_COYOTE (ret); 509s # else 509s # return NULL; 509s # } 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # 509s # /** 509s # * ComAcmeCoyoteSkeleton: 509s # * 509s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 509s # */ 509s # 509s # /** 509s # * ComAcmeCoyoteSkeletonClass: 509s # * @parent_class: The parent class. 509s # * 509s # * Class structure for #ComAcmeCoyoteSkeleton. 509s # */ 509s # 509s # struct _ComAcmeCoyoteSkeletonPrivate 509s # { 509s # GValue *properties; 509s # GList *changed_properties; 509s # GSource *changed_properties_idle_source; 509s # GMainContext *context; 509s # GMutex lock; 509s # }; 509s # 509s # static void 509s # _com_acme_coyote_skeleton_handle_method_call ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name, 509s # const gchar *method_name, 509s # GVariant *parameters, 509s # GDBusMethodInvocation *invocation, 509s # gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # _ExtendedGDBusMethodInfo *info; 509s # GVariantIter iter; 509s # GVariant *child; 509s # GValue *paramv; 509s # gsize num_params; 509s # guint num_extra; 509s # gsize n; 509s # guint signal_id; 509s # GValue return_value = G_VALUE_INIT; 509s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 509s # g_assert (info != NULL); 509s # num_params = g_variant_n_children (parameters); 509s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 509s # n = 0; 509s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 509s # g_value_set_object (¶mv[n++], skeleton); 509s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 509s # g_value_set_object (¶mv[n++], invocation); 509s # if (info->pass_fdlist) 509s # { 509s # #ifdef G_OS_UNIX 509s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 509s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 509s # #else 509s # g_assert_not_reached (); 509s # #endif 509s # } 509s # g_variant_iter_init (&iter, parameters); 509s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 509s # { 509s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 509s # if (arg_info->use_gvariant) 509s # { 509s # g_value_init (¶mv[n], G_TYPE_VARIANT); 509s # g_value_set_variant (¶mv[n], child); 509s # n++; 509s # } 509s # else 509s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 509s # g_variant_unref (child); 509s # } 509s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 509s # g_value_init (&return_value, G_TYPE_BOOLEAN); 509s # g_signal_emitv (paramv, signal_id, 0, &return_value); 509s # if (!g_value_get_boolean (&return_value)) 509s # 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); 509s # g_value_unset (&return_value); 509s # for (n = 0; n < num_params + num_extra; n++) 509s # g_value_unset (¶mv[n]); 509s # g_free (paramv); 509s # } 509s # 509s # static GVariant * 509s # _com_acme_coyote_skeleton_handle_get_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # GVariant *ret; 509s # ret = NULL; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # g_value_init (&value, pspec->value_type); 509s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 509s # g_value_unset (&value); 509s # } 509s # return ret; 509s # } 509s # 509s # static gboolean 509s # _com_acme_coyote_skeleton_handle_set_property ( 509s # GDBusConnection *connection G_GNUC_UNUSED, 509s # const gchar *sender G_GNUC_UNUSED, 509s # const gchar *object_path G_GNUC_UNUSED, 509s # const gchar *interface_name G_GNUC_UNUSED, 509s # const gchar *property_name, 509s # GVariant *variant, 509s # GError **error, 509s # gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # GValue value = G_VALUE_INIT; 509s # GParamSpec *pspec; 509s # _ExtendedGDBusPropertyInfo *info; 509s # gboolean ret; 509s # ret = FALSE; 509s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 509s # g_assert (info != NULL); 509s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 509s # if (pspec == NULL) 509s # { 509s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 509s # } 509s # else 509s # { 509s # if (info->use_gvariant) 509s # g_value_set_variant (&value, variant); 509s # else 509s # g_dbus_gvariant_to_gvalue (variant, &value); 509s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 509s # g_value_unset (&value); 509s # ret = TRUE; 509s # } 509s # return ret; 509s # } 509s # 509s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 509s # { 509s # _com_acme_coyote_skeleton_handle_method_call, 509s # _com_acme_coyote_skeleton_handle_get_property, 509s # _com_acme_coyote_skeleton_handle_set_property, 509s # {NULL} 509s # }; 509s # 509s # static GDBusInterfaceInfo * 509s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return com_acme_coyote_interface_info (); 509s # } 509s # 509s # static GDBusInterfaceVTable * 509s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 509s # { 509s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 509s # } 509s # 509s # static GVariant * 509s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 509s # 509s # GVariantBuilder builder; 509s # guint n; 509s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 509s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 509s # goto out; 509s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 509s # { 509s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 509s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 509s # { 509s # GVariant *value; 509s # 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); 509s # if (value != NULL) 509s # { 509s # g_variant_take_ref (value); 509s # g_variant_builder_add (&builder, "{sv}", info->name, value); 509s # g_variant_unref (value); 509s # } 509s # } 509s # } 509s # out: 509s # return g_variant_builder_end (&builder); 509s # } 509s # 509s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 509s # 509s # static void 509s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 509s # gboolean emit_changed = FALSE; 509s # 509s # g_mutex_lock (&skeleton->priv->lock); 509s # if (skeleton->priv->changed_properties_idle_source != NULL) 509s # { 509s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 509s # skeleton->priv->changed_properties_idle_source = NULL; 509s # emit_changed = TRUE; 509s # } 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # 509s # if (emit_changed) 509s # _com_acme_coyote_emit_changed (skeleton); 509s # } 509s # 509s # static void 509s # _com_acme_coyote_on_signal_surprised ( 509s # ComAcmeCoyote *object) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # 509s # GList *connections, *l; 509s # GVariant *signal_variant; 509s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 509s # 509s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 509s # for (l = connections; l != NULL; l = l->next) 509s # { 509s # GDBusConnection *connection = l->data; 509s # g_dbus_connection_emit_signal (connection, 509s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 509s # signal_variant, NULL); 509s # } 509s # g_variant_unref (signal_variant); 509s # g_list_free_full (connections, g_object_unref); 509s # } 509s # 509s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 509s # 509s # #else 509s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 509s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 509s # 509s # #endif 509s # static void 509s # com_acme_coyote_skeleton_finalize (GObject *object) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # guint n; 509s # for (n = 0; n < 1; n++) 509s # g_value_unset (&skeleton->priv->properties[n]); 509s # g_free (skeleton->priv->properties); 509s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 509s # if (skeleton->priv->changed_properties_idle_source != NULL) 509s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 509s # g_main_context_unref (skeleton->priv->context); 509s # g_mutex_clear (&skeleton->priv->lock); 509s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_get_property (GObject *object, 509s # guint prop_id, 509s # GValue *value, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # g_mutex_lock (&skeleton->priv->lock); 509s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # } 509s # 509s # static gboolean 509s # _com_acme_coyote_emit_changed (gpointer user_data) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 509s # GList *l; 509s # GVariantBuilder builder; 509s # GVariantBuilder invalidated_builder; 509s # guint num_changes; 509s # 509s # g_mutex_lock (&skeleton->priv->lock); 509s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 509s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 509s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 509s # { 509s # ChangedProperty *cp = l->data; 509s # GVariant *variant; 509s # const GValue *cur_value; 509s # 509s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 509s # if (!_g_value_equal (cur_value, &cp->orig_value)) 509s # { 509s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 509s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 509s # g_variant_unref (variant); 509s # num_changes++; 509s # } 509s # } 509s # if (num_changes > 0) 509s # { 509s # GList *connections, *ll; 509s # GVariant *signal_variant; 509s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 509s # &builder, &invalidated_builder)); 509s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 509s # for (ll = connections; ll != NULL; ll = ll->next) 509s # { 509s # GDBusConnection *connection = ll->data; 509s # 509s # g_dbus_connection_emit_signal (connection, 509s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 509s # "org.freedesktop.DBus.Properties", 509s # "PropertiesChanged", 509s # signal_variant, 509s # NULL); 509s # } 509s # g_variant_unref (signal_variant); 509s # g_list_free_full (connections, g_object_unref); 509s # } 509s # else 509s # { 509s # g_variant_builder_clear (&builder); 509s # g_variant_builder_clear (&invalidated_builder); 509s # } 509s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 509s # skeleton->priv->changed_properties = NULL; 509s # skeleton->priv->changed_properties_idle_source = NULL; 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # return FALSE; 509s # } 509s # 509s # static void 509s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 509s # { 509s # ChangedProperty *cp; 509s # GList *l; 509s # cp = NULL; 509s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 509s # { 509s # ChangedProperty *i_cp = l->data; 509s # if (i_cp->info == info) 509s # { 509s # cp = i_cp; 509s # break; 509s # } 509s # } 509s # if (cp == NULL) 509s # { 509s # cp = g_new0 (ChangedProperty, 1); 509s # cp->prop_id = prop_id; 509s # cp->info = info; 509s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 509s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 509s # g_value_copy (orig_value, &cp->orig_value); 509s # } 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_notify (GObject *object, 509s # GParamSpec *pspec G_GNUC_UNUSED) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # g_mutex_lock (&skeleton->priv->lock); 509s # if (skeleton->priv->changed_properties != NULL && 509s # skeleton->priv->changed_properties_idle_source == NULL) 509s # { 509s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 509s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 509s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 509s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 509s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 509s # g_source_unref (skeleton->priv->changed_properties_idle_source); 509s # } 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_set_property (GObject *object, 509s # guint prop_id, 509s # const GValue *value, 509s # GParamSpec *pspec) 509s # { 509s # const _ExtendedGDBusPropertyInfo *info; 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # g_assert (prop_id != 0 && prop_id - 1 < 1); 509s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 509s # g_mutex_lock (&skeleton->priv->lock); 509s # g_object_freeze_notify (object); 509s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 509s # { 509s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 509s # info->emits_changed_signal) 509s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 509s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 509s # g_object_notify_by_pspec (object, pspec); 509s # } 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # g_object_thaw_notify (object); 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 509s # { 509s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 509s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 509s # #else 509s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 509s # #endif 509s # 509s # g_mutex_init (&skeleton->priv->lock); 509s # skeleton->priv->context = g_main_context_ref_thread_default (); 509s # skeleton->priv->properties = g_new0 (GValue, 1); 509s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 509s # } 509s # 509s # static const gchar * 509s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 509s # { 509s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 509s # const gchar *value; 509s # g_mutex_lock (&skeleton->priv->lock); 509s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 509s # g_mutex_unlock (&skeleton->priv->lock); 509s # return value; 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 509s # { 509s # GObjectClass *gobject_class; 509s # GDBusInterfaceSkeletonClass *skeleton_class; 509s # 509s # gobject_class = G_OBJECT_CLASS (klass); 509s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 509s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 509s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 509s # gobject_class->notify = com_acme_coyote_skeleton_notify; 509s # 509s # 509s # com_acme_coyote_override_properties (gobject_class, 1); 509s # 509s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 509s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 509s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 509s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 509s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 509s # 509s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 509s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 509s # #endif 509s # } 509s # 509s # static void 509s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 509s # { 509s # iface->surprised = _com_acme_coyote_on_signal_surprised; 509s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 509s # } 509s # 509s # /** 509s # * com_acme_coyote_skeleton_new: 509s # * 509s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 509s # * 509s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 509s # */ 509s # ComAcmeCoyote * 509s # com_acme_coyote_skeleton_new (void) 509s # { 509s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 509s # } 509s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 509s # tmpdir: /tmp/tmpmi01fbmm 509s # codegen: /usr/bin/gdbus-codegen 509s # /tmp/tmpmi01fbmm/tmpc1mu2ihk.xml: 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmi01fbmm/tmpc1mu2ihk.xml', '--output', '-', '--header'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifndef __STDOUT__ 509s # #define __STDOUT__ 509s # 509s # #include 509s # 509s # G_BEGIN_DECLS 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for FDPassing */ 509s # 509s # #define TYPE_FDPASSING (fdpassing_get_type ()) 509s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 509s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 509s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 509s # 509s # struct _FDPassing; 509s # typedef struct _FDPassing FDPassing; 509s # typedef struct _FDPassingIface FDPassingIface; 509s # 509s # struct _FDPassingIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # gboolean (*handle_hello_fd) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # const gchar *arg_greeting); 509s # 509s # gboolean (*handle_no_annotation) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale); 509s # 509s # gboolean (*handle_no_annotation_nested) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GVariant *arg_files); 509s # 509s # }; 509s # 509s # GType fdpassing_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *fdpassing_interface_info (void); 509s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void fdpassing_complete_hello_fd ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # const gchar *response); 509s # 509s # void fdpassing_complete_no_annotation ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GVariant *response, 509s # const gchar *response_locale); 509s # 509s # void fdpassing_complete_no_annotation_nested ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void fdpassing_call_hello_fd ( 509s # FDPassing *proxy, 509s # const gchar *arg_greeting, 509s # GUnixFDList *fd_list, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_hello_fd_finish ( 509s # FDPassing *proxy, 509s # gchar **out_response, 509s # GUnixFDList **out_fd_list, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_hello_fd_sync ( 509s # FDPassing *proxy, 509s # const gchar *arg_greeting, 509s # GUnixFDList *fd_list, 509s # gchar **out_response, 509s # GUnixFDList **out_fd_list, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_call_no_annotation ( 509s # FDPassing *proxy, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_no_annotation_finish ( 509s # FDPassing *proxy, 509s # GVariant **out_response, 509s # gchar **out_response_locale, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_no_annotation_sync ( 509s # FDPassing *proxy, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale, 509s # GVariant **out_response, 509s # gchar **out_response_locale, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_call_no_annotation_nested ( 509s # FDPassing *proxy, 509s # GVariant *arg_files, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_no_annotation_nested_finish ( 509s # FDPassing *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_no_annotation_nested_sync ( 509s # FDPassing *proxy, 509s # GVariant *arg_files, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 509s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 509s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 509s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 509s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 509s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 509s # 509s # typedef struct _FDPassingProxy FDPassingProxy; 509s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 509s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 509s # 509s # struct _FDPassingProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # FDPassingProxyPrivate *priv; 509s # }; 509s # 509s # struct _FDPassingProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 509s # #endif 509s # 509s # void fdpassing_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # FDPassing *fdpassing_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # FDPassing *fdpassing_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 509s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 509s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 509s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 509s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 509s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 509s # 509s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 509s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 509s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 509s # 509s # struct _FDPassingSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # FDPassingSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _FDPassingSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 509s # #endif 509s # 509s # FDPassing *fdpassing_skeleton_new (void); 509s # 509s # 509s # G_END_DECLS 509s # 509s # #endif /* __STDOUT__ */ 509s # /tmp/tmpmi01fbmm/tmp59vwevz7.xml: 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmi01fbmm/tmp59vwevz7.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifndef __STDOUT__ 509s # #define __STDOUT__ 509s # 509s # #include 509s # 509s # G_BEGIN_DECLS 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for FDPassing */ 509s # 509s # #define TYPE_FDPASSING (fdpassing_get_type ()) 509s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 509s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 509s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 509s # 509s # struct _FDPassing; 509s # typedef struct _FDPassing FDPassing; 509s # typedef struct _FDPassingIface FDPassingIface; 509s # 509s # struct _FDPassingIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # gboolean (*handle_hello_fd) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # const gchar *arg_greeting); 509s # 509s # gboolean (*handle_no_annotation) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale); 509s # 509s # gboolean (*handle_no_annotation_nested) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GVariant *arg_files); 509s # 509s # }; 509s # 509s # GType fdpassing_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *fdpassing_interface_info (void); 509s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void fdpassing_complete_hello_fd ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # const gchar *response); 509s # 509s # void fdpassing_complete_no_annotation ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GVariant *response, 509s # const gchar *response_locale); 509s # 509s # void fdpassing_complete_no_annotation_nested ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void fdpassing_call_hello_fd ( 509s # FDPassing *proxy, 509s # const gchar *arg_greeting, 509s # GUnixFDList *fd_list, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_hello_fd_finish ( 509s # FDPassing *proxy, 509s # gchar **out_response, 509s # GUnixFDList **out_fd_list, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_hello_fd_sync ( 509s # FDPassing *proxy, 509s # const gchar *arg_greeting, 509s # GUnixFDList *fd_list, 509s # gchar **out_response, 509s # GUnixFDList **out_fd_list, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_call_no_annotation ( 509s # FDPassing *proxy, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_no_annotation_finish ( 509s # FDPassing *proxy, 509s # GVariant **out_response, 509s # gchar **out_response_locale, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_no_annotation_sync ( 509s # FDPassing *proxy, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale, 509s # GVariant **out_response, 509s # gchar **out_response_locale, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_call_no_annotation_nested ( 509s # FDPassing *proxy, 509s # GVariant *arg_files, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_no_annotation_nested_finish ( 509s # FDPassing *proxy, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_no_annotation_nested_sync ( 509s # FDPassing *proxy, 509s # GVariant *arg_files, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 509s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 509s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 509s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 509s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 509s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 509s # 509s # typedef struct _FDPassingProxy FDPassingProxy; 509s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 509s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 509s # 509s # struct _FDPassingProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # FDPassingProxyPrivate *priv; 509s # }; 509s # 509s # struct _FDPassingProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 509s # #endif 509s # 509s # void fdpassing_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # FDPassing *fdpassing_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # FDPassing *fdpassing_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 509s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 509s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 509s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 509s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 509s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 509s # 509s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 509s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 509s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 509s # 509s # struct _FDPassingSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # FDPassingSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _FDPassingSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 509s # #endif 509s # 509s # FDPassing *fdpassing_skeleton_new (void); 509s # 509s # 509s # G_END_DECLS 509s # 509s # #endif /* __STDOUT__ */ 509s # /tmp/tmpmi01fbmm/tmpdezsbe3p.xml: 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # 509s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmi01fbmm/tmpdezsbe3p.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: /* 509s # * This file is generated by gdbus-codegen, do not modify it. 509s # * 509s # * The license of this code is the same as for the D-Bus interface description 509s # * it was derived from. Note that it links to GLib, so must comply with the 509s # * LGPL linking clauses. 509s # */ 509s # 509s # #ifndef __STDOUT__ 509s # #define __STDOUT__ 509s # 509s # #include 509s # 509s # G_BEGIN_DECLS 509s # 509s # 509s # /* ------------------------------------------------------------------------ */ 509s # /* Declarations for FDPassing */ 509s # 509s # #define TYPE_FDPASSING (fdpassing_get_type ()) 509s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 509s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 509s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 509s # 509s # struct _FDPassing; 509s # typedef struct _FDPassing FDPassing; 509s # typedef struct _FDPassingIface FDPassingIface; 509s # 509s # struct _FDPassingIface 509s # { 509s # GTypeInterface parent_iface; 509s # 509s # gboolean (*handle_hello_fd) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # const gchar *arg_greeting); 509s # 509s # gboolean (*handle_no_annotation) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale); 509s # 509s # gboolean (*handle_no_annotation_nested) ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # GVariant *arg_files); 509s # 509s # }; 509s # 509s # GType fdpassing_get_type (void) G_GNUC_CONST; 509s # 509s # GDBusInterfaceInfo *fdpassing_interface_info (void); 509s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 509s # 509s # 509s # /* D-Bus method call completion functions: */ 509s # void fdpassing_complete_hello_fd ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # const gchar *response); 509s # 509s # void fdpassing_complete_no_annotation ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list, 509s # GVariant *response, 509s # const gchar *response_locale); 509s # 509s # void fdpassing_complete_no_annotation_nested ( 509s # FDPassing *object, 509s # GDBusMethodInvocation *invocation, 509s # GUnixFDList *fd_list); 509s # 509s # 509s # 509s # /* D-Bus method calls: */ 509s # void fdpassing_call_hello_fd ( 509s # FDPassing *proxy, 509s # const gchar *arg_greeting, 509s # GDBusCallFlags call_flags, 509s # gint timeout_msec, 509s # GUnixFDList *fd_list, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_hello_fd_finish ( 509s # FDPassing *proxy, 509s # gchar **out_response, 509s # GUnixFDList **out_fd_list, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_hello_fd_sync ( 509s # FDPassing *proxy, 509s # const gchar *arg_greeting, 509s # GDBusCallFlags call_flags, 509s # gint timeout_msec, 509s # GUnixFDList *fd_list, 509s # gchar **out_response, 509s # GUnixFDList **out_fd_list, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_call_no_annotation ( 509s # FDPassing *proxy, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale, 509s # GDBusCallFlags call_flags, 509s # gint timeout_msec, 509s # GUnixFDList *fd_list, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_no_annotation_finish ( 509s # FDPassing *proxy, 509s # GVariant **out_response, 509s # gchar **out_response_locale, 509s # GUnixFDList **out_fd_list, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_no_annotation_sync ( 509s # FDPassing *proxy, 509s # GVariant *arg_greeting, 509s # const gchar *arg_greeting_locale, 509s # GDBusCallFlags call_flags, 509s # gint timeout_msec, 509s # GUnixFDList *fd_list, 509s # GVariant **out_response, 509s # gchar **out_response_locale, 509s # GUnixFDList **out_fd_list, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_call_no_annotation_nested ( 509s # FDPassing *proxy, 509s # GVariant *arg_files, 509s # GDBusCallFlags call_flags, 509s # gint timeout_msec, 509s # GUnixFDList *fd_list, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # 509s # gboolean fdpassing_call_no_annotation_nested_finish ( 509s # FDPassing *proxy, 509s # GUnixFDList **out_fd_list, 509s # GAsyncResult *res, 509s # GError **error); 509s # 509s # gboolean fdpassing_call_no_annotation_nested_sync ( 509s # FDPassing *proxy, 509s # GVariant *arg_files, 509s # GDBusCallFlags call_flags, 509s # gint timeout_msec, 509s # GUnixFDList *fd_list, 509s # GUnixFDList **out_fd_list, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 509s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 509s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 509s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 509s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 509s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 509s # 509s # typedef struct _FDPassingProxy FDPassingProxy; 509s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 509s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 509s # 509s # struct _FDPassingProxy 509s # { 509s # /*< private >*/ 509s # GDBusProxy parent_instance; 509s # FDPassingProxyPrivate *priv; 509s # }; 509s # 509s # struct _FDPassingProxyClass 509s # { 509s # GDBusProxyClass parent_class; 509s # }; 509s # 509s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 509s # #endif 509s # 509s # void fdpassing_proxy_new ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # FDPassing *fdpassing_proxy_new_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # FDPassing *fdpassing_proxy_new_sync ( 509s # GDBusConnection *connection, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # void fdpassing_proxy_new_for_bus ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GAsyncReadyCallback callback, 509s # gpointer user_data); 509s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 509s # GAsyncResult *res, 509s # GError **error); 509s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 509s # GBusType bus_type, 509s # GDBusProxyFlags flags, 509s # const gchar *name, 509s # const gchar *object_path, 509s # GCancellable *cancellable, 509s # GError **error); 509s # 509s # 509s # /* ---- */ 509s # 509s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 509s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 509s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 509s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 509s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 509s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 509s # 509s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 509s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 509s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 509s # 509s # struct _FDPassingSkeleton 509s # { 509s # /*< private >*/ 509s # GDBusInterfaceSkeleton parent_instance; 509s # FDPassingSkeletonPrivate *priv; 509s # }; 509s # 509s # struct _FDPassingSkeletonClass 509s # { 509s # GDBusInterfaceSkeletonClass parent_class; 509s # }; 509s # 509s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 509s # 509s # #if GLIB_CHECK_VERSION(2, 44, 0) 509s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 509s # #endif 509s # 509s # FDPassing *fdpassing_skeleton_new (void); 509s # 509s # 509s # G_END_DECLS 509s # 509s # #endif /* __STDOUT__ */ 509s 1..39 509s ok - glib/codegen.py.test 509s # Running test: glib/value.test 509s TAP version 14 509s # random seed: R02S5481c1196fd4c2ccc7abfe26ad4700eb 509s 1..9 509s # Start of value tests 509s ok 1 /value/basic 509s ok 2 /value/collection 509s ok 3 /value/copying 509s ok 4 /value/enum-transformation 509s ok 5 /value/gtype 509s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 509s ok 6 /value/string 509s # Next: GObject object in GValue of GObject to GValue of GObject 509s # Next: GObject object in GValue of GObject to GValue of TestInterface 509s # Next: GObject object in GValue of GObject to GValue of TestObjectA 509s # Next: GObject object in GValue of GObject to GValue of TestObjectB 509s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 509s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 509s # Next: TestObjectA object in GValue of GObject to GValue of GObject 509s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 509s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 509s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 509s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 509s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 509s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 509s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 509s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 509s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 509s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 509s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 509s # Next: TestObjectB object in GValue of GObject to GValue of GObject 509s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 509s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 509s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 509s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 509s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 509s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 509s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 509s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 509s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 509s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 509s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 509s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 509s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 509s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 509s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 509s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 509s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 509s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 509s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 509s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 509s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 509s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 509s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 509s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 509s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 509s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 509s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 509s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 509s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 509s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 509s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 509s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 509s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 509s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 509s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 509s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 509s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 509s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 509s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 509s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 509s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 509s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 509s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 509s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 509s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 509s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 509s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 509s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 509s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 509s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 509s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 509s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 509s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 509s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 509s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 509s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 509s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 509s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 509s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 509s ok 7 /value/transform-object 509s # Start of array tests 509s ok 8 /value/array/basic 509s ok 9 /value/array/sort-with-data 509s # End of array tests 509s # End of value tests 509s ok - glib/value.test 509s # Running test: glib/timer.test 509s TAP version 14 509s # random seed: R02S49a28828e24948ed40a848c087836c9e 509s 1..10 509s # Start of timer tests 509s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 509s ok 2 /timer/stop 509s ok 3 /timer/continue 509s ok 4 /timer/reset 509s ok 5 /timer/is_active 509s # End of timer tests 509s # Start of timeval tests 509s ok 6 /timeval/add 509s ok 7 /timeval/from-iso8601 509s ok 8 /timeval/to-iso8601 509s # Start of to-iso8601 tests 509s ok 9 /timeval/to-iso8601/overflow 509s # End of to-iso8601 tests 509s # End of timeval tests 509s # Start of usleep tests 509s ok 10 /usleep/with-zero-wait 509s # End of usleep tests 509s ok - glib/timer.test 509s # Running test: glib/gdbus-connection-flush.test 509s TAP version 14 509s # random seed: R02S671ebac398781d784efc693437b2e8dd 509s 1..2 509s # Start of gdbus tests 509s # Start of connection tests 509s # Start of flush tests 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/busy/.dirs/runtime 509s ok 1 /gdbus/connection/flush/busy 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_UUBQX2/gdbus/connection/flush/idle/.dirs/runtime 509s ok 2 /gdbus/connection/flush/idle 509s # End of flush tests 509s # End of connection tests 509s # End of gdbus tests 509s ok - glib/gdbus-connection-flush.test 509s # Running test: glib/object.test 509s TAP version 14 509s # random seed: R02S39ac5eff6155c5335fe5e0b884178df0 509s 1..2 509s # Start of object tests 509s # Start of constructor tests 509s ok 1 /object/constructor/singleton 509s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 509s # End of constructor tests 509s # End of object tests 509s ok - glib/object.test 509s # Running test: glib/credentials.test 509s TAP version 14 509s # random seed: R02Sde5b38669b73d3ac9b0c0d4f4592259c 509s 1..1 509s # Start of credentials tests 509s # GCredentials:linux-ucred:pid=3412,uid=1000,gid=1000 509s # GCredentials:linux-ucred:pid=3412,uid=0,gid=1000 509s ok 1 /credentials/basic 509s # End of credentials tests 509s ok - glib/credentials.test 509s # Running test: glib/642026-ec.test 509s TAP version 14 509s # random seed: R02S744b3766c313fb3258fbc52204296518 509s 1..1 509s # Start of glib tests 509s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 509s ok 1 /glib/642026 509s # End of glib tests 509s ok - glib/642026-ec.test 509s # Running test: glib/gdbus-subscribe.test 509s TAP version 14 509s # random seed: R02Scb831ab9cb9964ccc08c8ebe32f6da87 509s 1..24 509s # Start of gdbus tests 509s # Start of subscribe tests 509s # Start of conn tests 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/simple/.dirs/runtime 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 509s # Step 0: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 1: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 2: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 2 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 1 /gdbus/subscribe/conn/simple 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 509s # Step 0: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: service 2 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 3: emitting signal 509s # Sender: service 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 4: emitting signal 509s # Sender: service 2 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 1 509s # Signal received from service 2 :1.2 509s # Signal received from service 2 :1.2 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 2 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 3 509s # Signal received from service 2 :1.2 509s # Signal received from service 2 :1.2 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/match_twice/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 509s # Step 0: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 1: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: (any) 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 2: adding subscription 509s # Sender: (any) 509s # Path: (any) 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 3: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 4: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 3 /gdbus/subscribe/conn/match_twice 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 509s # Step 0: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 3: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 3 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 509s # Step 0: adding subscription 509s # Sender: :0.this.had.better.not.exist 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /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 509s # Step 0: claiming bus name 509s # Name: org.gtk.Test.AlreadyOwned 509s # Owner: service 509s # Step 1: adding subscription 509s # Sender: org.gtk.Test.AlreadyOwned 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 2: adding subscription 509s # Sender: org.gtk.Test.OwnedLater 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 3: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 4: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 5: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 6: claiming bus name 509s # Name: org.gtk.Test.OwnedLater 509s # Owner: service 509s # Step 7: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 5 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 509s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 509s # Step 0: adding subscription 509s # Sender: org.freedesktop.DBus 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # String argument 0: would I lie to you? 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Waiting for signal to reach message bus 509s # Step 3: claiming bus name 509s # Name: org.gtk.Test.OwnedLater 509s # Owner: service 509s # Signal received from message bus org.freedesktop.DBus 509s # Signal received from (unused) org.freedesktop.DBus via connection 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 509s # Step 0: claiming bus name 509s # Name: org.gtk.Test.AlreadyOwned 509s # Owner: service 509s # Step 1: adding subscription 509s # Sender: org.gtk.Test.AlreadyOwned 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Immediately unsubscribing 509s # Waiting for AddMatch to be processed 509s # Step 2: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 509s # End of conn tests 509s # Start of proxy tests 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/simple/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 509s # Step 0: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 1: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 2: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 9 /gdbus/subscribe/proxy/simple 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 509s # Step 0: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: service 2 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 3: emitting signal 509s # Sender: service 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 4: emitting signal 509s # Sender: service 2 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 509s # Step 0: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: (any) 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 2: adding subscription 509s # Sender: (any) 509s # Path: (any) 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 3: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 4: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 11 /gdbus/subscribe/proxy/match_twice 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 509s # Step 0: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 3: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 3 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 509s # Step 0: adding subscription 509s # Sender: :0.this.had.better.not.exist 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /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 509s # Step 0: claiming bus name 509s # Name: org.gtk.Test.AlreadyOwned 509s # Owner: service 509s # Step 1: adding subscription 509s # Sender: org.gtk.Test.AlreadyOwned 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 2: adding subscription 509s # Sender: org.gtk.Test.OwnedLater 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 3: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 4: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 5: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 6: claiming bus name 509s # Name: org.gtk.Test.OwnedLater 509s # Owner: service 509s # Step 7: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 5 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 509s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 509s # Step 0: adding subscription 509s # Sender: org.freedesktop.DBus 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # String argument 0: would I lie to you? 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Waiting for signal to reach message bus 509s # Step 3: claiming bus name 509s # Name: org.gtk.Test.OwnedLater 509s # Owner: service 509s # Signal received from message bus org.freedesktop.DBus 509s # Signal received from (unused) org.freedesktop.DBus via proxy 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 509s # Step 0: claiming bus name 509s # Name: org.gtk.Test.AlreadyOwned 509s # Owner: service 509s # Step 1: adding subscription 509s # Sender: org.gtk.Test.AlreadyOwned 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 2: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 2 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 509s # End of proxy tests 509s # Start of parallel tests 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/simple/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 509s # Step 0: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 1: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 2: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 2 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 17 /gdbus/subscribe/parallel/simple 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 509s # Step 0: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: service 2 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 3: emitting signal 509s # Sender: service 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 4: emitting signal 509s # Sender: service 2 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 1 509s # Signal received from service 2 :1.2 509s # Signal received from service 2 :1.2 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 2 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 3 509s # Signal received from service 2 :1.2 509s # Signal received from service 2 :1.2 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 509s # Step 0: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: adding subscription 509s # Sender: (any) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: (any) 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 2: adding subscription 509s # Sender: (any) 509s # Path: (any) 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Cannot subscribe via proxy: no bus name 509s # Waiting for AddMatch to be processed 509s # Step 3: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 4: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 4 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 509s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 19 /gdbus/subscribe/parallel/match_twice 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 509s # Step 0: adding subscription 509s # Sender: service :1.1 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 3: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 3 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 3 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 509s # Step 0: adding subscription 509s # Sender: :0.this.had.better.not.exist 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /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 509s # Step 0: claiming bus name 509s # Name: org.gtk.Test.AlreadyOwned 509s # Owner: service 509s # Step 1: adding subscription 509s # Sender: org.gtk.Test.AlreadyOwned 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 2: adding subscription 509s # Sender: org.gtk.Test.OwnedLater 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 3: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 4: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 5: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Step 6: claiming bus name 509s # Name: org.gtk.Test.OwnedLater 509s # Owner: service 509s # Step 7: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 5 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 5 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via connection 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 7 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 509s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 509s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 509s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 509s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 509s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 509s # Step 0: adding subscription 509s # Sender: org.freedesktop.DBus 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 1: emitting signal 509s # Sender: attacker 509s # Destination: (broadcast) 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # String argument 0: would I lie to you? 509s # Waiting for signal to reach message bus 509s # Step 2: emitting signal 509s # Sender: attacker 509s # Destination: subscriber :1.0 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Waiting for signal to reach message bus 509s # Step 3: claiming bus name 509s # Name: org.gtk.Test.OwnedLater 509s # Owner: service 509s # Signal received from message bus org.freedesktop.DBus 509s # Signal received from (unused) org.freedesktop.DBus via connection 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Signal received from message bus org.freedesktop.DBus 509s # Signal received from (unused) org.freedesktop.DBus via proxy 509s # Path: /org/freedesktop/DBus 509s # Interface: org.freedesktop.DBus 509s # Member: NameOwnerChanged 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 509s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 509s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 509s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 509s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_PLNPX2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # subscriber is :1.0 509s # service is :1.1 509s # service 2 is :1.2 509s # attacker is :1.3 509s # Waiting for AddMatch to be processed 509s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 509s # Step 0: claiming bus name 509s # Name: org.gtk.Test.AlreadyOwned 509s # Owner: service 509s # Step 1: adding subscription 509s # Sender: org.gtk.Test.AlreadyOwned 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: (any) 509s # String argument 0: (any) 509s # Flags: 0 509s # Subscribing via connection 509s # Immediately unsubscribing 509s # Subscribing via proxy 509s # Waiting for AddMatch to be processed 509s # Step 2: emitting signal 509s # Sender: service 509s # Destination: (broadcast) 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Waiting for signal to reach message bus 509s # Signal received from service :1.1 509s # Signal received from service :1.1 via proxy 509s # Path: /org/gtk/GDBus/ExampleInterface 509s # Interface: org.gtk.GDBus.ExampleInterface 509s # Member: Foo 509s # Argument 0: (not a string) 509s # Sent in step: 2 509s # Received Finished signal from subscriber :1.0 509s # Received Finished signal from service :1.1 509s # Received Finished signal from service 2 :1.2 509s # Received Finished signal from attacker :1.3 509s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 509s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 509s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 509s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 509s # End of parallel tests 509s # End of subscribe tests 509s # End of gdbus tests 509s ok - glib/gdbus-subscribe.test 509s # Running test: glib/overflow-fallback.test 509s TAP version 14 509s # random seed: R02S1e07266b726240c84dc924a5e5c1ba5d 509s 1..6 509s # Start of glib tests 509s # Start of checked-math tests 509s ok 1 /glib/checked-math/guint-add 509s ok 2 /glib/checked-math/guint-mul 509s ok 3 /glib/checked-math/guint64-add 509s ok 4 /glib/checked-math/guint64-mul 509s ok 5 /glib/checked-math/gsize-add 509s ok 6 /glib/checked-math/gsize-mul 509s # End of checked-math tests 509s # End of glib tests 509s ok - glib/overflow-fallback.test 509s # Running test: glib/memory-monitor.test 509s TAP version 14 509s # random seed: R02S0b577f0d9c9b4340c84a5aa638d3c98e 509s 1..1 509s # Start of memory-monitor tests 509s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 509s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 509s ok 1 /memory-monitor/default 509s # End of memory-monitor tests 509s ok - glib/memory-monitor.test 509s # Running test: glib/markup.test 509s TAP version 14 509s # random seed: R02S22c1a38bc0025d931f7860a41e77e42f 509s 1..1 509s # Start of markup tests 509s ok 1 /markup/stack 509s # End of markup tests 509s ok - glib/markup.test 509s # Running test: glib/gobject-query.py.test 509s TAP version 13 509s ok 1 __main__.TestGobjectQuery.test_froots 509s # gobject-query: /usr/bin/gobject-query 509s # Running: ['/usr/bin/gobject-query', 'froots'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: ├void 509s # ├GInterface 509s # │ â””GTypePlugin 509s # ├gchar 509s # ├guchar 509s # ├gboolean 509s # ├gint 509s # ├guint 509s # ├glong 509s # ├gulong 509s # ├gint64 509s # ├guint64 509s # ├GEnum 509s # ├GFlags 509s # ├gfloat 509s # ├gdouble 509s # ├gchararray 509s # ├gpointer 509s # │ â””GType 509s # ├GBoxed 509s # │ â””GValueArray 509s # ├GParam 509s # │ ├GParamChar 509s # │ ├GParamUChar 509s # │ ├GParamBoolean 509s # │ ├GParamInt 509s # │ ├GParamUInt 509s # │ ├GParamLong 509s # │ ├GParamULong 509s # │ ├GParamInt64 509s # │ ├GParamUInt64 509s # │ ├GParamUnichar 509s # │ ├GParamEnum 509s # │ ├GParamFlags 509s # │ ├GParamFloat 509s # │ ├GParamDouble 509s # │ ├GParamString 509s # │ ├GParamParam 509s # │ ├GParamBoxed 509s # │ ├GParamPointer 509s # │ ├GParamValueArray 509s # │ ├GParamObject 509s # │ ├GParamOverride 509s # │ ├GParamGType 509s # │ â””GParamVariant 509s # ├GObject 509s # â””GVariant 509s ok 2 __main__.TestGobjectQuery.test_help 509s # gobject-query: /usr/bin/gobject-query 509s # Running: ['/usr/bin/gobject-query', '--help'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 509s # -r specify root type 509s # -n don't descend type tree 509s # -h show help 509s # -b specify indent string 509s # -i specify incremental indent string 509s # -s specify line spacing 509s # qualifiers: 509s # froots iterate over fundamental roots 509s # tree print type tree 509s ok 3 __main__.TestGobjectQuery.test_tree 509s # gobject-query: /usr/bin/gobject-query 509s # Running: ['/usr/bin/gobject-query', 'tree'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: GObject 509s ok 4 __main__.TestGobjectQuery.test_version 509s # gobject-query: /usr/bin/gobject-query 509s # Running: ['/usr/bin/gobject-query', '--version'] 509s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 509s # Output: 2.82.2 509s 1..4 509s ok - glib/gobject-query.py.test 509s # Running test: glib/socket.test 509s TAP version 14 509s # random seed: R02S694df0f8a3cfc8cbb17b0d4ae5e81071 509s 1..28 509s # Start of socket tests 510s ok 1 /socket/ipv4_sync 510s # slow test /socket/ipv4_sync executed in 1.00 secs 511s ok 2 /socket/ipv4_async 511s # slow test /socket/ipv4_async executed in 1.00 secs 511s ok 3 /socket/ipv6_sync 511s ok 4 /socket/ipv6_async 511s ok 5 /socket/ipv6_v4mapped 511s # Executing: glib/socket.test 512s ok 6 /socket/close_graceful 512s # slow test /socket/close_graceful executed in 1.00 secs 512s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 512s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 512s ok 8 /socket/fd_reuse 512s ok 9 /socket/address 512s ok 10 /socket/unix-from-fd 512s ok 11 /socket/unix-connection 512s ok 12 /socket/unix-connection-ancillary-data 512s ok 13 /socket/source-postmortem 512s ok 14 /socket/read_write 512s ok 15 /socket/read_writev 512s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 512s ok 16 /socket/receive_bytes 512s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 512s ok 17 /socket/receive_bytes_from 512s # Start of ipv4_sync tests 512s ok 18 /socket/ipv4_sync/datagram 512s # Start of datagram tests 513s ok 19 /socket/ipv4_sync/datagram/timeouts 513s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 513s # End of datagram tests 513s # End of ipv4_sync tests 513s # Start of ipv6_sync tests 513s ok 20 /socket/ipv6_sync/datagram 513s # Start of datagram tests 514s ok 21 /socket/ipv6_sync/datagram/timeouts 514s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 514s # End of datagram tests 514s # End of ipv6_sync tests 514s # Start of reuse tests 514s ok 22 /socket/reuse/tcp 514s ok 23 /socket/reuse/udp 514s # End of reuse tests 514s # Start of get_available tests 514s ok 24 /socket/get_available/datagram 514s ok 25 /socket/get_available/stream 514s # End of get_available tests 514s # Start of credentials tests 514s # Supported on this OS: GCredentials:linux-ucred:pid=0 514s ok 26 /socket/credentials/tcp_client 514s # Supported on this OS: GCredentials:linux-ucred:pid=0 514s ok 27 /socket/credentials/tcp_server 514s # Supported on this OS: GCredentials:linux-ucred:pid=4461,uid=1000,gid=1000 514s ok 28 /socket/credentials/unix_socketpair 514s # End of credentials tests 514s # End of socket tests 514s ok - glib/socket.test 514s # Running test: glib/properties-refcount4.test 514s TAP version 14 514s # random seed: R02Sbd1f2fb2c5b3c9f83ff3ff9a2142f103 514s 1..1 514s # Start of gobject tests 514s # Start of refcount tests 514s ok 1 /gobject/refcount/properties-4 514s # End of refcount tests 514s # End of gobject tests 514s ok - glib/properties-refcount4.test 514s # Running test: glib/642026.test 514s TAP version 14 514s # random seed: R02Sb0f5bd426cb39f3e085d2ad29cac3c3c 514s 1..1 514s # Start of glib tests 514s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 514s ok 1 /glib/642026 514s # End of glib tests 514s ok - glib/642026.test 514s # Running test: glib/portal-support-env-var.test 514s TAP version 14 514s # random seed: R02S618fbe2873c223ec2a122d7cbd6d30f3 514s 1..1 514s # Start of portal-support tests 514s ok 1 /portal-support/env-var 514s # End of portal-support tests 514s ok - glib/portal-support-env-var.test 514s # Running test: glib/bindinggroup.test 514s TAP version 14 514s # random seed: R02S05d36d8372ceaae13182be9ebb59456e 514s 1..11 514s # Start of GObject tests 514s # Start of BindingGroup tests 514s ok 1 /GObject/BindingGroup/invalid 514s ok 2 /GObject/BindingGroup/default 514s ok 3 /GObject/BindingGroup/bidirectional 514s ok 4 /GObject/BindingGroup/transform 514s ok 5 /GObject/BindingGroup/transform-closures 514s ok 6 /GObject/BindingGroup/same-object 514s ok 7 /GObject/BindingGroup/weak-ref-source 514s ok 8 /GObject/BindingGroup/weak-ref-target 514s ok 9 /GObject/BindingGroup/properties 514s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 514s ok 11 /GObject/BindingGroup/empty-closures 514s # End of BindingGroup tests 514s # End of GObject tests 514s ok - glib/bindinggroup.test 514s # Running test: glib/uri.test 514s TAP version 14 514s # random seed: R02S3588c72e0156dd24ac9c6c24d22baaf7 514s 1..24 514s # Start of uri tests 514s ok 1 /uri/file-to-uri 514s ok 2 /uri/file-from-uri 514s ok 3 /uri/file-roundtrip 514s ok 4 /uri/list 514s # Test 0: %2Babc %4F 514s # Test 1: %2Babc %4F 514s # Test 2: %00abc %4F 514s # Test 3: /cursors/none.png 514s # Test 4: /cursors%2fbad-subdir/none.png 514s # Test 5: %0 514s # Test 6: %ra 514s # Test 7: %2r 514s # Test 8: Timm B?der 514s # Test 9: (null) 514s ok 5 /uri/unescape-string 514s ok 6 /uri/unescape-segment 514s # Test 0: abcdefgABCDEFG._~ 514s # Test 1: :+ \\?# 514s # Test 2: a+b:c 514s # Test 3: a+b:c\303\234 514s # Test 4: \374;\322 514s # Test 5: \303\261\303( 514s ok 7 /uri/escape-string 514s ok 8 /uri/escape-bytes 514s ok 9 /uri/scheme 514s ok 10 /uri/build 514s ok 11 /uri/split 514s ok 12 /uri/is_valid 514s ok 13 /uri/to-string 514s ok 14 /uri/join 514s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 514s # Combination 0 514s # Combination 1 514s # Combination 2 514s # Combination 3 514s # Combination 4 514s # Combination 5 514s # Combination 6 514s # Combination 7 514s # Combination 8 514s # Combination 9 514s # Combination 10 514s # Combination 11 514s # Combination 12 514s # Combination 13 514s # Combination 14 514s # Combination 15 514s # Combination 16 514s # Combination 17 514s # Combination 18 514s # Combination 19 514s # Combination 20 514s # Combination 21 514s # Combination 22 514s # Combination 23 514s # Combination 24 514s # Combination 25 514s # Combination 26 514s # Combination 27 514s # Combination 28 514s # Combination 29 514s # Combination 30 514s # Combination 31 514s # Combination 32 514s # Combination 33 514s # Combination 34 514s # Combination 35 514s # Combination 36 514s # Combination 37 514s # Combination 38 514s # Combination 39 514s # Combination 40 514s # Combination 41 514s # Combination 42 514s # Combination 43 514s # Combination 44 514s # Combination 45 514s # Combination 46 514s # Combination 47 514s # Combination 48 514s # Combination 49 514s # Combination 50 514s # Combination 51 514s # Combination 52 514s # Combination 53 514s # Combination 54 514s # Combination 55 514s # Combination 56 514s # Combination 57 514s # Combination 58 514s # Combination 59 514s # Combination 60 514s # Combination 61 514s # Combination 62 514s # Combination 63 514s # Combination 64 514s # Combination 65 514s # Combination 66 514s # Combination 67 514s # Combination 68 514s # Combination 69 514s # Combination 70 514s # Combination 71 514s # Combination 72 514s # Combination 73 514s # Combination 74 514s # Combination 75 514s # Combination 76 514s # Combination 77 514s # Combination 78 514s # Combination 79 514s # Combination 80 514s # Combination 81 514s # Combination 82 514s # Combination 83 514s # Combination 84 514s # Combination 85 514s # Combination 86 514s # Combination 87 514s # Combination 88 514s # Combination 89 514s # Combination 90 514s # Combination 91 514s # Combination 92 514s # Combination 93 514s # Combination 94 514s # Combination 95 514s # Combination 96 514s # Combination 97 514s # Combination 98 514s # Combination 99 514s # Combination 100 514s # Combination 101 514s # Combination 102 514s # Combination 103 514s # Combination 104 514s # Combination 105 514s # Combination 106 514s # Combination 107 514s # Combination 108 514s # Combination 109 514s # Combination 110 514s # Combination 111 514s # Combination 112 514s # Combination 113 514s # Combination 114 514s # Combination 115 514s # Combination 116 514s # Combination 117 514s # Combination 118 514s # Combination 119 514s # Combination 120 514s # Combination 121 514s # Combination 122 514s # Combination 123 514s # Combination 124 514s # Combination 125 514s # Combination 126 514s # Combination 127 514s # Combination 128 514s # Combination 129 514s # Combination 130 514s # Combination 131 514s # Combination 132 514s # Combination 133 514s # Combination 134 514s # Combination 135 514s # Combination 136 514s # Combination 137 514s # Combination 138 514s # Combination 139 514s # Combination 140 514s # Combination 141 514s # Combination 142 514s # Combination 143 514s # Combination 144 514s # Combination 145 514s # Combination 146 514s # Combination 147 514s # Combination 148 514s # Combination 149 514s # Combination 150 514s # Combination 151 514s # Combination 152 514s # Combination 153 514s # Combination 154 514s # Combination 155 514s # Combination 156 514s # Combination 157 514s # Combination 158 514s # Combination 159 514s # Combination 160 514s # Combination 161 514s # Combination 162 514s # Combination 163 514s # Combination 164 514s # Combination 165 514s # Combination 166 514s # Combination 167 514s # Combination 168 514s # Combination 169 514s # Combination 170 514s # Combination 171 514s # Combination 172 514s # Combination 173 514s # Combination 174 514s # Combination 175 514s # Combination 176 514s # Combination 177 514s # Combination 178 514s # Combination 179 514s # Combination 180 514s # Combination 181 514s # Combination 182 514s # Combination 183 514s # Combination 184 514s # Combination 185 514s # Combination 186 514s # Combination 187 514s # Combination 188 514s # Combination 189 514s # Combination 190 514s # Combination 191 514s # Combination 192 514s # Combination 193 514s # Combination 194 514s # Combination 195 514s # Combination 196 514s # Combination 197 514s # Combination 198 514s # Combination 199 514s # Combination 200 514s # Combination 201 514s # Combination 202 514s # Combination 203 514s # Combination 204 514s # Combination 205 514s # Combination 206 514s # Combination 207 514s # Combination 208 514s # Combination 209 514s # Combination 210 514s # Combination 211 514s # Combination 212 514s # Combination 213 514s # Combination 214 514s # Combination 215 514s # Combination 216 514s # Combination 217 514s # Combination 218 514s # Combination 219 514s # Combination 220 514s # Combination 221 514s # Combination 222 514s # Combination 223 514s # Combination 224 514s # Combination 225 514s # Combination 226 514s # Combination 227 514s # Combination 228 514s # Combination 229 514s # Combination 230 514s # Combination 231 514s # Combination 232 514s # Combination 233 514s # Combination 234 514s # Combination 235 514s # Combination 236 514s # Combination 237 514s # Combination 238 514s # Combination 239 514s # Combination 240 514s # Combination 241 514s # Combination 242 514s # Combination 243 514s # Combination 244 514s # Combination 245 514s # Combination 246 514s # Combination 247 514s # Combination 248 514s # Combination 249 514s # Combination 250 514s # Combination 251 514s # Combination 252 514s # Combination 253 514s # Combination 254 514s # Combination 255 514s ok 15 /uri/join-split-round-trip 514s ok 16 /uri/normalize 514s # Start of unescape-bytes tests 514s # Test 0: %00%00 514s # Test 1: /cursors/none.png 514s # Test 2: /cursors%2fbad-subdir/none.png 514s # Test 3: %% 514s # Test 4: % 514s ok 17 /uri/unescape-bytes/nul-terminated 514s # Test 0: %00%00 514s # Test 1: /cursors/none.png 514s # Test 2: /cursors%2fbad-subdir/none.png 514s # Test 3: %% 514s # Test 4: % 514s ok 18 /uri/unescape-bytes/length 514s # End of unescape-bytes tests 514s # Start of parsing tests 514s # Test 0: foo: 514s # Test 1: file:/dev/null 514s # Test 2: file:///dev/null 514s # Test 3: ftp://user@host/path 514s # Test 4: ftp://user@host:9999/path 514s # Test 5: ftp://user:password@host/path 514s # Test 6: ftp://user:password@host:9999/path 514s # Test 7: ftp://user:password@host 514s # Test 8: http://us%65r@host 514s # Test 9: http://us%40r@host 514s # Test 10: http://us%3ar@host 514s # Test 11: http://us%2fr@host 514s # Test 12: http://us%3fr@host 514s # Test 13: http://host?query 514s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 514s # 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 514s # Test 16: http://space/%20 514s # Test 17: http://delims/%3C%3E%23%25%22 514s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 514s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 514s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 514s # Test 21: http://[3ffe:2a00:100:7031::1] 514s # Test 22: http://[1080::8:800:200C:417A]/foo 514s # Test 23: http://[::192.9.5.5]/ipng 514s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 514s # Test 25: http://[2010:836B:4179::836B:4179] 514s # Test 26: http://host/path with spaces 514s # Test 27: http://host/path 514s # Test 28: http://host/path 514s # Test 29: http://host 514s # Test 30: http://host:999 514s # Test 31: http://host/pa 514s # th 514s # Test 32: http: 514s # //host/path 514s # Test 33: http:// host/path 514s # Test 34: http://host/path? 514s # Test 35: http://host/path# 514s # Test 36: http://host/path% 514s # Test 37: http://h%ost/path 514s # Test 38: http://host/path%% 514s # Test 39: http://host/path%%% 514s # Test 40: http://host/path%/x/ 514s # Test 41: http://host/path%0x/ 514s # Test 42: http://host/path%ax 514s # Test 43: http://host/p?th/ 514s # Test 44: HTTP://////////////// 514s # Test 45: http://@host 514s # Test 46: http://:@host 514s # Test 47: scheme://foo%3Abar._webdav._tcp.local 514s # Test 48: http://example.com/.. 514s # Test 49: foo0://host/path 514s # Test 50: f0.o://host/path 514s # Test 51: http++://host/path 514s # Test 52: http-ish://host/path 514s # Test 53: http://[fe80::dead:beef%]/ 514s # Test 54: http://[fe80::dead:beef%em1]/ 514s # Test 55: http://[fe80::dead:beef%em1]/ 514s # Test 56: http://[fe80::dead:beef%25em1]/ 514s # Test 57: http://[fe80::dead:beef%25em1%20]/ 514s # Test 58: http://[fe80::dead:beef%25em%31]/ 514s # Test 59: http://[fe80::dead:beef%10]/ 514s # Test 60: http://[fe80::dead:beef%10]/ 514s # Test 61: http://[fe80::dead:beef%25]/ 514s # Test 62: http://[fe80::dead:beef%25]/ 514s # Test 63: http://[192.168.0.1%25em1]/ 514s # Test 64: http://[fe80::dead:beef%2em1]/ 514s # Test 65: http://[fe80::dead:beef%2em1]/ 514s # Test 66: http://[fe80::dead:beef%25em1%00]/ 514s # Test 67: http://[fe80::dead:beef%25em1%00]/ 514s # Test 68: http://xn--mixed-?p/ 514s ok 19 /uri/parsing/absolute 514s ok 20 /uri/parsing/relative 514s # End of parsing tests 514s # Start of iter-params tests 514s # URI 0: p1=foo&p2=bar;p3=baz 514s # URI 1: p1=foo&p2=bar 514s # URI 2: p1=foo&&P1=bar 514s # URI 3: %00=foo 514s # URI 4: p1=%00 514s # URI 5: p1=foo&p1=bar 514s # URI 6: p1=foo&P1=bar 514s # URI 7: =% 514s # URI 8: = 514s # URI 9: foo 514s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 514s ok 21 /uri/iter-params/nul-terminated 514s # URI 0: p1=foo&p2=bar;p3=baz 514s # URI 1: p1=foo&p2=bar 514s # URI 2: p1=foo&&P1=bar 514s # URI 3: %00=foo 514s # URI 4: p1=%00 514s # URI 5: p1=foo&p1=bar 514s # URI 6: p1=foo&P1=bar 514s # URI 7: =% 514s # URI 8: = 514s # URI 9: foo 514s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 514s ok 22 /uri/iter-params/length 514s # End of iter-params tests 514s # Start of parse-params tests 514s # URI 0: p1=foo&p2=bar;p3=baz 514s # URI 1: p1=foo&p2=bar 514s # URI 2: p1=foo&&P1=bar 514s # URI 3: %00=foo 514s # URI 4: p1=%00 514s # URI 5: p1=foo&p1=bar 514s # URI 6: p1=foo&P1=bar 514s # URI 7: =% 514s # URI 8: = 514s # URI 9: foo 514s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 514s ok 23 /uri/parse-params/nul-terminated 514s # URI 0: p1=foo&p2=bar;p3=baz 514s # URI 1: p1=foo&p2=bar 514s # URI 2: p1=foo&&P1=bar 514s # URI 3: %00=foo 514s # URI 4: p1=%00 514s # URI 5: p1=foo&p1=bar 514s # URI 6: p1=foo&P1=bar 514s # URI 7: =% 514s # URI 8: = 514s # URI 9: foo 514s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 514s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 514s ok 24 /uri/parse-params/length 514s # End of parse-params tests 514s # End of uri tests 514s ok - glib/uri.test 514s # Running test: glib/properties-refcount1.test 514s TAP version 14 514s # random seed: R02Sb8200a132b82cced9946552130d32b07 514s 1..1 514s # Start of gobject tests 514s # Start of refcount tests 514s # .f 514s # .b 514s # .e 514s # .d 514s # .c 514s # .b 514s # .f 514s # .d 514s # .f 514s # .e 514s # .d 514s # .b 514s # .e 514s # .c 514s # .f 514s # .d 514s # .e 514s # .b 514s # .f 514s # .d 514s # .c 514s # .e 514s # .e 514s # .f 514s # .d 514s # .c 514s # .b 514s # .e 514s # .f 514s # .d 514s # .d 514s # .b 514s # .e 514s # .f 514s # .e 514s # .c 514s # .d 514s # .f 514s # .b 514s # .d 514s # .e 514s # .c 514s # .e 514s # .f 514s # .d 514s # .f 514s # .b 514s # .e 514s # .d 514s # .c 514s # .b 514s # .b 514s # .f 514s # .d 514s # .c 514s # .e 514s # .f 514s # .d 514s # .e 514s # .c 514s # .d 514s # .b 514s # .f 514s # .e 514s # .b 514s # .f 514s # .d 514s # .c 514s # .f 514s # .b 514s # .e 514s # .e 514s # .c 514s # .f 514s # .b 514s # .d 514s # .f 514s # .d 514s # .c 514s # .e 514s # .f 514s # .b 514s # .d 514s # .f 514s # .c 514s # .e 514s # .d 514s # .b 514s # .f 514s # .e 515s # .d 515s # .c 515s # .b 515s # .f 515s # .d 515s # .e 515s # .c 515s # .f 515s # .b 515s # .d 515s # .f 515s # .e 515s # .b 515s # .c 515s # .d 515s # .f 515s # .b 515s # .e 515s # .c 515s # .f 515s # .e 515s # .b 515s # .d 515s # .c 515s # .f 515s # .e 515s # .b 515s # .d 515s # .c 515s # .f 515s # .e 515s # .c 515s # .b 515s # .d 515s # .f 515s # .e 515s # .f 515s # .b 515s # .c 515s # .d 515s # .e 515s # .b 515s # .f 515s # .d 515s # .c 515s # .f 515s # .e 515s # .d 515s # .b 515s # .f 515s # .d 515s # .b 515s # .c 515s # .e 515s # .d 515s # .f 515s # .b 515s # .e 515s # .c 515s # .f 515s # .d 515s # .b 515s # .c 515s # .d 515s # .f 515s # .e 515s # .d 515s # .f 515s # .c 515s # .b 515s # .e 515s # .d 515s # .f 515s # .c 515s # .d 515s # .b 515s # .f 515s # .b 515s # .e 515s # .c 515s # .d 515s # .f 515s # .b 515s # .e 515s # .f 515s # .d 515s # .c 515s # .b 515s # .e 515s # .f 515s # .c 515s # .d 515s # .b 516s # .f 516s # .d 516s # .e 516s # .d 516s # .b 516s # .c 516s # .f 516s # .d 516s # .d 516s # .e 516s # .f 516s # .d 516s # .c 516s # .b 516s # .f 516s # .e 516s # .b 516s # .c 516s # .d 516s # .b 516s # .f 516s # .d 516s # .e 516s # .b 516s # .c 516s # .e 516s # .f 516s # .b 516s # .d 516s # .c 516s # .e 516s # .b 516s # .f 516s # .d 516s # .c 516s # .f 516s # .e 516s # .b 516s # .d 516s # .c 516s # .f 516s # .e 516s # .b 516s # .c 516s # .e 516s # .f 516s # .d 516s # .b 516s # .f 516s # .d 516s # .c 516s # .e 516s # .b 516s # .f 516s # .d 516s # .e 516s # .c 516s # .f 516s # .b 516s # .e 516s # .f 516s # .d 516s # .b 516s # .c 516s # .f 516s # .e 516s # .d 516s # .b 516s # .c 516s # .b 516s # .e 516s # .f 516s # .d 516s # Executing: glib/properties-refcount1.test 516s # .b 516s # .c 516s # .f 516s # .e 516s # .d 516s # .f 516s # .c 516s # .b 516s # .e 516s # .f 516s # .d 516s # .c 516s # .e 516s # .f 516s # .d 516s # .b 516s # .c 516s # .f 516s # .d 516s # .e 516s # .c 517s # .f 517s # .b 517s # .f 517s # .c 517s # .e 517s # .d 517s # .b 517s # .f 517s # .d 517s # .c 517s # .b 517s # .e 517s # .d 517s # .f 517s # .b 517s # .c 517s # .d 517s # .e 517s # .f 517s # .c 517s # .b 517s # .e 517s # .d 517s # .f 517s # .b 517s # .c 517s # .d 517s # .e 517s # .c 517s # .f 517s # .b 517s # .c 517s # .c 517s # .e 517s # .f 517s # .d 517s # .c 517s # .b 517s ok 1 /gobject/refcount/properties-1 517s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 517s # End of refcount tests 517s # End of gobject tests 517s ok - glib/properties-refcount1.test 517s # Running test: glib/gio-tool.py.test 517s TAP version 13 517s ok 1 __main__.TestGioTool.test_help 517s # tmpdir: /tmp/tmp541bpl2r 517s # gio: /usr/bin/gio 517s # Running: ['/usr/bin/gio', '--help'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: Usage: 517s # gio COMMAND [ARGS…] 517s # 517s # Commands: 517s # help Print help 517s # version Print version 517s # cat Concatenate files to standard output 517s # copy Copy one or more files 517s # info Show information about locations 517s # launch Launch an application from a desktop file 517s # list List the contents of locations 517s # mime Get or set the handler for a mimetype 517s # mkdir Create directories 517s # monitor Monitor files and directories for changes 517s # mount Mount or unmount the locations 517s # move Move one or more files 517s # open Open files with the default application 517s # rename Rename a file 517s # remove Delete one or more files 517s # save Read from standard input and save 517s # set Set a file attribute 517s # trash Move files or directories to the trash 517s # tree Lists the contents of locations in a tree 517s # 517s # Use “gio help COMMAND†to get detailed help. 517s # Running: ['/usr/bin/gio', 'help'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: Usage: 517s # gio COMMAND [ARGS…] 517s # 517s # Commands: 517s # help Print help 517s # version Print version 517s # cat Concatenate files to standard output 517s # copy Copy one or more files 517s # info Show information about locations 517s # launch Launch an application from a desktop file 517s # list List the contents of locations 517s # mime Get or set the handler for a mimetype 517s # mkdir Create directories 517s # monitor Monitor files and directories for changes 517s # mount Mount or unmount the locations 517s # move Move one or more files 517s # open Open files with the default application 517s # rename Rename a file 517s # remove Delete one or more files 517s # save Read from standard input and save 517s # set Set a file attribute 517s # trash Move files or directories to the trash 517s # tree Lists the contents of locations in a tree 517s # 517s # Use “gio help COMMAND†to get detailed help. 517s ok 2 __main__.TestGioTool.test_info_non_default_attributes 517s # tmpdir: /tmp/tmpaxoyz2c6 517s # gio: /usr/bin/gio 517s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpaxoyz2c6/tmpsjjyqri3'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s # Output: uri: file:///tmp/tmpaxoyz2c6/tmpsjjyqri3 517s # local path: /tmp/tmpaxoyz2c6/tmpsjjyqri3 517s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 517s # attributes: 517s # standard::content-type: application/x-zerosize 517s ok 3 __main__.TestGioTool.test_no_args 517s # tmpdir: /tmp/tmpo_jg63s1 517s # gio: /usr/bin/gio 517s # Running: ['/usr/bin/gio'] 517s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 517s 1..3 517s ok - glib/gio-tool.py.test 517s # Running test: glib/mimeapps.test 517s TAP version 14 517s # random seed: R02S2501da66605e50d7239f899bd704cb4d 517s 1..7 517s # Start of appinfo tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 517s ok 1 /appinfo/all 517s # Start of mime tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_35CZX2/appinfo/all/.dirs/config to /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config 517s ok 2 /appinfo/mime/api 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config 517s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_35CZX2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config 517s ok 3 /appinfo/mime/default 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_35CZX2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config 517s ok 4 /appinfo/mime/file 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 517s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_35CZX2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/config 517s ok 5 /appinfo/mime/scheme-handler 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_35CZX2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config 517s ok 6 /appinfo/mime/default-last-used 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/runtime 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 517s # removing '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 517s # creating '/tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 517s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_35CZX2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_35CZX2/appinfo/mime/ignore-nonexisting/.dirs/config 517s ok 7 /appinfo/mime/ignore-nonexisting 517s # End of mime tests 517s # End of appinfo tests 517s ok - glib/mimeapps.test 517s # Running test: glib/deftype.test 517s ok - glib/deftype.test 517s # Running test: glib/struct-info.test 517s TAP version 14 517s # random seed: R02S4fe4b41d15edd67d8386307d99fbf9eb 517s 1..4 517s # Start of struct-info tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6GPYX2/struct-info/field-iterators/.dirs/runtime 517s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 517s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 517s ok 1 /struct-info/field-iterators 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6GPYX2/struct-info/sizeof-gvalue/.dirs/runtime 517s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 517s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 517s ok 2 /struct-info/sizeof-gvalue 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6GPYX2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 517s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 517s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 517s ok 3 /struct-info/is-pointer-for-struct-method-arg 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_6GPYX2/struct-info/boxed/.dirs/runtime 517s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 517s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 517s ok 4 /struct-info/boxed 517s # End of struct-info tests 517s ok - glib/struct-info.test 517s # Running test: glib/srvtarget.test 517s TAP version 14 517s # random seed: R02Sc584aea62cf80f3869b5659185f77d67 517s 1..1 517s # Start of srvtarget tests 518s ok 1 /srvtarget/srv-target-ordering 518s # slow test /srvtarget/srv-target-ordering executed in 0.59 secs 518s # End of srvtarget tests 518s ok - glib/srvtarget.test 518s # Running test: glib/cxx-14.test 518s TAP version 14 518s # random seed: R02S556c2d9e513efc98e1137b90f5f4da29 518s 1..2 518s # Start of gtask tests 518s # 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. 518s ok 1 /gtask/name 518s # Start of name tests 518s # 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. 518s ok 2 /gtask/name/macro-wrapper 518s # End of name tests 518s # End of gtask tests 518s ok - glib/cxx-14.test 518s # Running test: glib/messages-low-memory.py.test 518s TAP version 13 518s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 518s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 518s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 518s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 518s # Return code: -6 518s # Output: 518s # Error: GLib-Message: 02:06:14.114: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 518s # GLib-Message: 02:06:14.114: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 518s # ../../../glib/gprintf.c:350: failed to allocate memory 518s 1..1 518s ok - glib/messages-low-memory.py.test 518s # Running test: glib/binding.test 518s TAP version 14 518s # random seed: R02S7f63726615655635a8890bb62e0c03ae 518s 1..19 518s # Start of binding tests 518s ok 1 /binding/default 518s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 518s ok 2 /binding/canonicalisation 518s ok 3 /binding/bidirectional 518s ok 4 /binding/transform 518s ok 5 /binding/transform-default 518s ok 6 /binding/transform-closure 518s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 518s ok 7 /binding/chain 518s ok 8 /binding/sync-create 518s ok 9 /binding/invert-boolean 518s ok 10 /binding/same-object 518s ok 11 /binding/unbind 518s ok 12 /binding/unbind-weak 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 518s ok 13 /binding/unbind-multiple 518s ok 14 /binding/fail 518s ok 15 /binding/interface 518s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 518s ok 16 /binding/concurrent-unbind 518s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 518s ok 17 /binding/concurrent-finalizing 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 518s ok 18 /binding/dispose-source 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 518s ok 19 /binding/dispose-target 518s # End of binding tests 518s ok - glib/binding.test 518s # Running test: glib/module-test-plugin.test 518s TAP version 14 518s # random seed: R02Sa7caecefdf6d5f7cc461892570b9abf2 518s 1..3 518s # Start of module tests 518s ok 1 /module/basics 518s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 518s ok 2 /module/invalid-libtool-archive 518s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 518s ok 3 /module/local-binding 518s # End of module tests 518s ok - glib/module-test-plugin.test 518s # Running test: glib/macros-c-17.test 518s TAP version 14 518s # random seed: R02S6835fc5207cba66fc5ee34a3313525bf 518s 1..4 518s # Start of C tests 518s ok 1 /C/standard-17 518s # End of C tests 518s # Start of alignof tests 518s ok 2 /alignof/fallback 518s # End of alignof tests 518s # Start of assert tests 518s ok 3 /assert/static 518s # End of assert tests 518s # Start of struct tests 518s ok 4 /struct/sizeof_member 518s # End of struct tests 518s ok - glib/macros-c-17.test 518s # Running test: glib/gsocketclient-slow.test 518s TAP version 14 518s # random seed: R02S14c3e2c6ea540a9efe853cf327a97515 518s 1..4 518s # Start of socket-client tests 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 518s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 518s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa182f1280 and GSocketClientAsyncConnectData 0x2aa182e9b90 518s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 518s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 518s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa182f3160 for GSocketClientAsyncConnectData 0x2aa182e9b90 518s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 518s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 518s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 518s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 518s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 518s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 518s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa182f42c0 for GSocketClientAsyncConnectData 0x2aa182e9b90 518s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 519s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 519s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 519s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 519s ok 1 /socket-client/connection-fail 519s # slow test /socket-client/connection-fail executed in 1.20 secs 519s # Start of happy-eyeballs tests 519s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa182f6c50 and GSocketClientAsyncConnectData 0x2aa182f4f00 519s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 519s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 519s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa182f75d0 for GSocketClientAsyncConnectData 0x2aa182f4f00 519s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 519s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 519s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 519s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 519s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 519s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 519s ok 2 /socket-client/happy-eyeballs/slow 519s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 519s # Start of cancellation tests 519s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa182f8240 and GSocketClientAsyncConnectData 0x2aa182f7160 519s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 519s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 519s ok 3 /socket-client/happy-eyeballs/cancellation/instant 519s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa182f6c90 and GSocketClientAsyncConnectData 0x2aa182f84d0 519s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 519s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 519s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa182f8ca0 for GSocketClientAsyncConnectData 0x2aa182f84d0 520s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 520s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 520s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 520s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 520s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 520s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 520s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 520s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 520s # End of cancellation tests 520s # End of happy-eyeballs tests 520s # End of socket-client tests 520s ok - glib/gsocketclient-slow.test 520s # Running test: glib/gdbus-proxy-unique-name.test 520s TAP version 14 520s # random seed: R02Sce54b1a9bd94ccf87ad863f060ef9a62 520s 1..1 520s # Start of gdbus tests 520s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/home 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/cache 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/system-config2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/config 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/system-data2 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/data 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/state 520s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_QLFXX2/gdbus/proxy-unique-name/.dirs/runtime 520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 520s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 520s ok 1 /gdbus/proxy-unique-name 520s # End of gdbus tests 520s ok - glib/gdbus-proxy-unique-name.test 520s # Running test: glib/mainloop.test 520s TAP version 14 520s # random seed: R02S8e6b9e7dc71e8541f7112183c1212b4e 520s 1..45 520s # Start of maincontext tests 520s ok 1 /maincontext/basic 520s # Add same-priority sources: 12 520s # Find each source: 0 520s # Remove in random order: 8 520s ok 2 /maincontext/nsources_same_priority 520s # Add different-priority sources: 12 520s # Find each source: 0 520s # Remove in random order: 11 520s ok 3 /maincontext/nsources_different_priority 520s # Add sources from threads: 18 520s # Remove sources from threads: 15 520s ok 4 /maincontext/nsources_threadpool 520s ok 5 /maincontext/source_finalization 520s # /maincontext/idle-once summary: Test g_idle_add_once() works 520s ok 6 /maincontext/idle-once 520s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 520s ok 7 /maincontext/timeout-once 520s # Start of source_finalization_from_source tests 520s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 8 /maincontext/source_finalization_from_source/0 520s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 9 /maincontext/source_finalization_from_source/1 520s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 10 /maincontext/source_finalization_from_source/2 520s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 11 /maincontext/source_finalization_from_source/3 520s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 12 /maincontext/source_finalization_from_source/4 520s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 13 /maincontext/source_finalization_from_source/5 520s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 14 /maincontext/source_finalization_from_source/6 520s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 15 /maincontext/source_finalization_from_source/7 520s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 16 /maincontext/source_finalization_from_source/8 520s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 17 /maincontext/source_finalization_from_source/9 520s # End of source_finalization_from_source tests 520s # Start of source_finalization_from_dispatch tests 520s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 520s ok 18 /maincontext/source_finalization_from_dispatch/0 520s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 520s ok 19 /maincontext/source_finalization_from_dispatch/1 520s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 520s ok 20 /maincontext/source_finalization_from_dispatch/2 520s # End of source_finalization_from_dispatch tests 520s # End of maincontext tests 520s # Start of mainloop tests 520s ok 21 /mainloop/basic 520s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 520s ok 23 /mainloop/priorities 521s ok 24 /mainloop/invoke 521s # slow test /mainloop/invoke executed in 0.50 secs 521s # Executing: glib/mainloop.test 522s ok 25 /mainloop/child_sources 522s # slow test /mainloop/child_sources executed in 1.19 secs 524s ok 26 /mainloop/recursive_child_sources 524s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 524s ok 27 /mainloop/recursive_loop_child_sources 524s ok 28 /mainloop/swapping_child_sources 524s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 524s ok 29 /mainloop/blocked_child_sources 525s ok 30 /mainloop/source_time 525s # slow test /mainloop/source_time executed in 1.00 secs 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 525s ok 31 /mainloop/overflow 526s ok 32 /mainloop/ready-time 526s # slow test /mainloop/ready-time executed in 0.50 secs 526s ok 33 /mainloop/wakeup 526s ok 34 /mainloop/remove-invalid 526s ok 35 /mainloop/unref-while-pending 526s ok 36 /mainloop/unix-fd 526s ok 37 /mainloop/unix-fd-source 526s ok 38 /mainloop/source-unix-fd-api 526s ok 39 /mainloop/wait 526s ok 40 /mainloop/unix-file-poll 526s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 526s ok 41 /mainloop/unix-fd-priority 526s ok 42 /mainloop/nfds 526s ok 43 /mainloop/steal-fd 526s # Start of ownerless-polling tests 526s ok 44 /mainloop/ownerless-polling/attach-first 526s ok 45 /mainloop/ownerless-polling/pop-first 526s # End of ownerless-polling tests 526s # End of mainloop tests 526s ok - glib/mainloop.test 526s # Running test: glib/overflow.test 526s TAP version 14 526s # random seed: R02S4e35f9b1cf2f271490e26e5f51d82511 526s 1..6 526s # Start of glib tests 526s # Start of checked-math tests 526s ok 1 /glib/checked-math/guint-add 526s ok 2 /glib/checked-math/guint-mul 526s ok 3 /glib/checked-math/guint64-add 526s ok 4 /glib/checked-math/guint64-mul 526s ok 5 /glib/checked-math/gsize-add 526s ok 6 /glib/checked-math/gsize-mul 526s # End of checked-math tests 526s # End of glib tests 526s ok - glib/overflow.test 526s # Running test: glib/enums.test 526s TAP version 14 526s # random seed: R02Sfca0b7adc149a59bc9eb33dbcd575dc7 526s 1..4 526s # Start of enum tests 526s ok 1 /enum/basic 526s ok 2 /enum/define-type 526s # End of enum tests 526s # Start of flags tests 526s ok 3 /flags/basic 526s ok 4 /flags/define-type 526s # End of flags tests 526s ok - glib/enums.test 526s # Running test: glib/socket-address.test 526s TAP version 14 526s # random seed: R02S55aa74f5d29c67c42cc013ac03fcf5d4 526s 1..2 526s # Start of socket tests 526s # Start of address tests 526s # Start of unix tests 526s ok 1 /socket/address/unix/construct 526s ok 2 /socket/address/unix/to-string 526s # End of unix tests 526s # End of address tests 526s # End of socket tests 526s ok - glib/socket-address.test 526s # Running test: glib/properties-refcount2.test 526s TAP version 14 526s # random seed: R02Sce49d589fa17c35514ebf6e4172bdc9d 526s 1..1 526s # Start of gobject tests 526s # Start of refcount tests 526s # init 0x2aa0dcc9770 526s # 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # Executing: glib/properties-refcount2.test 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 526s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # . 527s # dispose 0x2aa0dcc9770! 527s # 527s ok 1 /gobject/refcount/properties-2 527s # slow test /gobject/refcount/properties-2 executed in 0.65 secs 527s # End of refcount tests 527s # End of gobject tests 527s ok - glib/properties-refcount2.test 527s # Running test: glib/type-flags.test 527s TAP version 14 527s # random seed: R02Sdddf7f833b0d5b598d3b74ef921fd2af 527s 1..4 527s # Start of type tests 527s # Start of flags tests 527s ok 1 /type/flags/interface 527s ok 2 /type/flags/final 527s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 527s ok 3 /type/flags/deprecated 527s # Start of final tests 527s ok 4 /type/flags/final/instance-check 527s # End of final tests 527s # End of flags tests 527s # End of type tests 527s ok - glib/type-flags.test 527s # Running test: glib/simple-proxy.test 527s TAP version 14 527s # random seed: R02S36c61e8fceb8ceb228a482c30828ed9a 527s 1..3 527s # Start of static-proxy tests 527s ok 1 /static-proxy/uri 527s ok 2 /static-proxy/socks 527s ok 3 /static-proxy/ignore 527s # End of static-proxy tests 527s ok - glib/simple-proxy.test 527s # Running test: glib/bitlock.test 527s TAP version 14 527s # random seed: R02Sa06661e69933fe243c32d6f72005f136 527s 1..1 527s # Start of bitlock tests 527s # Start of performance tests 527s # max perf: iterations per second 527s ok 1 /bitlock/performance/uncontended 527s # End of performance tests 527s # End of bitlock tests 527s ok - glib/bitlock.test 527s # Running test: glib/io-channel.test 527s TAP version 14 527s # random seed: R02S2ab3c132541416d92746738923246416 527s 1..2 527s # Start of io-channel tests 527s # Line one 527s # 527s # Line two 527s # 527s # Line three 527s # 527s # /* Hello */ 527s # 527s # \x1234\x567890\x6666 527s # 527s # read 62 bytes, wrote 62 bytes 527s ok 1 /io-channel/read-write 527s # Start of read-line tests 527s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 527s ok 2 /io-channel/read-line/embedded-nuls 527s # End of read-line tests 527s # End of io-channel tests 527s ok - glib/io-channel.test 527s # Running test: glib/cxx.test 527s TAP version 14 527s # random seed: R02S3a4a7c4e66ed57e957c22d718d040ce3 527s 1..2 527s # Start of gtask tests 527s # 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. 527s ok 1 /gtask/name 527s # Start of name tests 527s # 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. 527s ok 2 /gtask/name/macro-wrapper 527s # End of name tests 527s # End of gtask tests 527s ok - glib/cxx.test 527s # Running test: glib/array-test.test 527s TAP version 14 527s # random seed: R02S7f12f8059f26a3df0f11078dcfe7593b 527s 1..113 527s # Start of array tests 527s ok 1 /array/ref-count 527s ok 2 /array/steal 527s ok 3 /array/clear-func 527s ok 4 /array/binary-search 527s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 527s ok 5 /array/copy-sized 527s ok 6 /array/overflow-append-vals 527s ok 7 /array/overflow-set-size 527s # Start of new tests 527s ok 8 /array/new/zero-terminated 527s ok 9 /array/new/take 527s ok 10 /array/new/take-zero-terminated 527s # Start of take tests 527s ok 11 /array/new/take/empty 527s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 527s # End of take tests 527s # End of new tests 527s # Start of set-size tests 527s ok 13 /array/set-size/non-zero-terminated-no-clear 527s ok 14 /array/set-size/non-zero-terminated-clear 527s ok 15 /array/set-size/zero-terminated-no-clear 527s ok 16 /array/set-size/zero-terminated-clear 527s # Start of sized tests 527s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 527s ok 18 /array/set-size/sized/non-zero-terminated-clear 527s ok 19 /array/set-size/sized/zero-terminated-no-clear 527s ok 20 /array/set-size/sized/zero-terminated-clear 527s # End of sized tests 527s # End of set-size tests 527s # Start of append-val tests 527s ok 21 /array/append-val/non-zero-terminated-no-clear 527s ok 22 /array/append-val/non-zero-terminated-clear 527s ok 23 /array/append-val/zero-terminated-no-clear 527s ok 24 /array/append-val/zero-terminated-clear 527s # End of append-val tests 527s # Start of prepend-val tests 527s ok 25 /array/prepend-val/non-zero-terminated-no-clear 527s ok 26 /array/prepend-val/non-zero-terminated-clear 527s ok 27 /array/prepend-val/zero-terminated-no-clear 527s ok 28 /array/prepend-val/zero-terminated-clear 527s # End of prepend-val tests 527s # Start of prepend-vals tests 527s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 527s ok 30 /array/prepend-vals/non-zero-terminated-clear 527s ok 31 /array/prepend-vals/zero-terminated-no-clear 527s ok 32 /array/prepend-vals/zero-terminated-clear 527s # End of prepend-vals tests 527s # Start of insert-vals tests 527s ok 33 /array/insert-vals/non-zero-terminated-no-clear 527s ok 34 /array/insert-vals/non-zero-terminated-clear 527s ok 35 /array/insert-vals/zero-terminated-no-clear 527s ok 36 /array/insert-vals/zero-terminated-clear 527s # End of insert-vals tests 527s # Start of remove-index tests 527s ok 37 /array/remove-index/non-zero-terminated-no-clear 527s ok 38 /array/remove-index/non-zero-terminated-clear 527s ok 39 /array/remove-index/zero-terminated-no-clear 527s ok 40 /array/remove-index/zero-terminated-clear 527s # End of remove-index tests 527s # Start of remove-index-fast tests 527s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 527s ok 42 /array/remove-index-fast/non-zero-terminated-clear 527s ok 43 /array/remove-index-fast/zero-terminated-no-clear 527s ok 44 /array/remove-index-fast/zero-terminated-clear 527s # End of remove-index-fast tests 527s # Start of remove-range tests 527s ok 45 /array/remove-range/non-zero-terminated-no-clear 527s ok 46 /array/remove-range/non-zero-terminated-clear 527s ok 47 /array/remove-range/zero-terminated-no-clear 527s ok 48 /array/remove-range/zero-terminated-clear 527s # End of remove-range tests 527s # Start of copy tests 527s ok 49 /array/copy/non-zero-terminated-no-clear 527s ok 50 /array/copy/non-zero-terminated-clear 527s ok 51 /array/copy/zero-terminated-no-clear 527s ok 52 /array/copy/zero-terminated-clear 527s # End of copy tests 527s # Start of sort tests 527s ok 53 /array/sort/non-zero-terminated-no-clear 527s ok 54 /array/sort/non-zero-terminated-clear 527s ok 55 /array/sort/zero-terminated-no-clear 527s ok 56 /array/sort/zero-terminated-clear 527s # End of sort tests 527s # Start of sort-with-data tests 527s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 527s ok 58 /array/sort-with-data/non-zero-terminated-clear 527s ok 59 /array/sort-with-data/zero-terminated-no-clear 527s ok 60 /array/sort-with-data/zero-terminated-clear 527s # End of sort-with-data tests 527s # End of array tests 527s # Start of pointerarray tests 527s ok 61 /pointerarray/add 527s ok 62 /pointerarray/insert 527s ok 63 /pointerarray/new-take 527s ok 64 /pointerarray/new-take-null-terminated 527s ok 65 /pointerarray/new-from-array 527s ok 66 /pointerarray/new-from-null-terminated-array 527s ok 67 /pointerarray/free-func 527s ok 68 /pointerarray/array_extend_and_steal 527s ok 69 /pointerarray/sort 527s ok 70 /pointerarray/sort-with-data 527s ok 71 /pointerarray/sort-values 527s ok 72 /pointerarray/sort-values-with-data 527s ok 73 /pointerarray/remove-range 527s ok 74 /pointerarray/steal 527s # Start of free tests 527s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 527s ok 75 /pointerarray/free/null-terminated 527s # End of free tests 527s # Start of new-take tests 527s ok 76 /pointerarray/new-take/empty 527s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 527s ok 78 /pointerarray/new-take/with-free-func 527s # End of new-take tests 527s # Start of new-take-null-terminated tests 527s ok 79 /pointerarray/new-take-null-terminated/empty 527s ok 80 /pointerarray/new-take-null-terminated/with-free-func 527s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 527s # End of new-take-null-terminated tests 527s # Start of new-from-array tests 527s ok 82 /pointerarray/new-from-array/empty 527s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 527s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 527s # End of new-from-array tests 527s # Start of new-from-null-terminated-array tests 527s ok 85 /pointerarray/new-from-null-terminated-array/empty 527s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 527s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 527s # End of new-from-null-terminated-array tests 527s # Start of ref-count tests 527s ok 88 /pointerarray/ref-count/not-null-terminated 527s ok 89 /pointerarray/ref-count/null-terminated 527s # End of ref-count tests 527s # Start of array_copy tests 527s # /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 527s ok 90 /pointerarray/array_copy/not-null-terminated 527s # /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 527s ok 91 /pointerarray/array_copy/null-terminated 527s # End of array_copy tests 527s # Start of array_extend tests 527s ok 92 /pointerarray/array_extend/not-null-terminated 527s ok 93 /pointerarray/array_extend/null-terminated 527s # End of array_extend tests 527s # Start of sort tests 527s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 527s ok 94 /pointerarray/sort/example 527s # End of sort tests 527s # Start of sort-with-data tests 527s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 527s ok 95 /pointerarray/sort-with-data/example 527s # End of sort-with-data tests 527s # Start of sort-values tests 527s ok 96 /pointerarray/sort-values/example 527s # End of sort-values tests 527s # Start of sort-values-with-data tests 527s ok 97 /pointerarray/sort-values-with-data/example 527s # End of sort-values-with-data tests 527s # Start of find tests 527s ok 98 /pointerarray/find/empty 527s ok 99 /pointerarray/find/non-empty 527s # End of find tests 527s # Start of steal_index tests 527s ok 100 /pointerarray/steal_index/not-null-terminated 527s ok 101 /pointerarray/steal_index/null-terminated 527s # End of steal_index tests 527s # End of pointerarray tests 527s # Start of bytearray tests 527s ok 102 /bytearray/steal 527s ok 103 /bytearray/append 527s ok 104 /bytearray/prepend 527s ok 105 /bytearray/remove 527s ok 106 /bytearray/remove-fast 527s ok 107 /bytearray/remove-range 527s ok 108 /bytearray/ref-count 527s ok 109 /bytearray/sort 527s ok 110 /bytearray/sort-with-data 527s ok 111 /bytearray/new-take 527s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 527s ok 113 /bytearray/free-to-bytes 527s # End of bytearray tests 527s ok - glib/array-test.test 527s # Running test: glib/properties.test 527s TAP version 14 527s # random seed: R02Sbc40f9f5e5fa14073b08294f671b57f7 527s 1..13 527s # Start of properties tests 527s ok 1 /properties/install 527s ok 2 /properties/install-many 527s ok 3 /properties/notify 527s ok 4 /properties/notify-queue 527s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 527s ok 5 /properties/construct 527s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 527s # Test g_object_get_property with an initialized value 527s # Test g_object_get_property with an uninitialized value 527s # Test g_object_get_property with a transformable value 527s ok 6 /properties/get-property 527s ok 7 /properties/testv_with_no_properties 527s ok 8 /properties/testv_with_valid_properties 527s ok 9 /properties/testv_with_invalid_property_type 527s ok 10 /properties/testv_with_invalid_property_names 527s ok 11 /properties/testv_getv 527s ok 12 /properties/testv_notify_queue 527s # Start of set-property tests 527s # Start of variant tests 527s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 527s ok 13 /properties/set-property/variant/floating 527s # End of variant tests 527s # End of set-property tests 527s # End of properties tests 527s ok - glib/properties.test 527s # Running test: glib/gdatetime.test 527s TAP version 14 527s # random seed: R02S595354c9b48378cb8a000c537412e589 527s 1..68 527s # Start of GDateTime tests 527s # Bug Reference: http://bugzilla.gnome.org/702674 527s ok 1 /GDateTime/invalid 527s ok 2 /GDateTime/add_days 527s ok 3 /GDateTime/add_full 527s ok 4 /GDateTime/add_hours 527s ok 5 /GDateTime/add_minutes 527s ok 6 /GDateTime/add_months 527s ok 7 /GDateTime/add_seconds 527s ok 8 /GDateTime/add_weeks 527s ok 9 /GDateTime/add_years 527s ok 10 /GDateTime/compare 527s ok 11 /GDateTime/diff 527s ok 12 /GDateTime/equal 527s ok 13 /GDateTime/get_day_of_week 527s ok 14 /GDateTime/get_day_of_month 527s ok 15 /GDateTime/get_day_of_year 527s ok 16 /GDateTime/get_hour 527s ok 17 /GDateTime/get_microsecond 527s ok 18 /GDateTime/get_minute 527s ok 19 /GDateTime/get_month 527s ok 20 /GDateTime/get_second 527s ok 21 /GDateTime/get_utc_offset 527s ok 22 /GDateTime/get_year 527s ok 23 /GDateTime/hash 527s ok 24 /GDateTime/new_from_unix 527s ok 25 /GDateTime/new_from_unix_utc 527s ok 26 /GDateTime/new_from_timeval 527s ok 27 /GDateTime/new_from_timeval_utc 527s ok 28 /GDateTime/new_from_iso8601 527s ok 29 /GDateTime/new_full 527s ok 30 /GDateTime/now 527s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 527s ok 31 /GDateTime/test-6-days-until-end-of-the-month 527s # %a -> expected: Sat 527s # %a -> actual: Sat 527s # %A -> expected: Saturday 527s # %A -> actual: Saturday 527s # %b -> expected: Oct 527s # %b -> actual: Oct 527s # %B -> expected: October 527s # %B -> actual: October 527s # %d -> expected: 24 527s # %d -> actual: 24 527s # %d -> expected: 01 527s # %d -> actual: 01 527s # %e -> expected: 24 527s # %e -> actual: 24 527s # %e -> expected:  1 527s # %e -> actual:  1 527s # %f -> expected: 001000 527s # %f -> actual: 001000 527s # %h -> expected: Oct 527s # %h -> actual: Oct 527s # %H -> expected: 00 527s # %H -> actual: 00 527s # %H -> expected: 15 527s # %H -> actual: 15 527s # %I -> expected: 12 527s # %I -> actual: 12 527s # %I -> expected: 12 527s # %I -> actual: 12 527s # %I -> expected: 03 527s # %I -> actual: 03 527s # %j -> expected: 297 527s # %j -> actual: 297 527s # %k -> expected:  0 527s # %k -> actual:  0 527s # %k -> expected: 13 527s # %k -> actual: 13 527s # %l -> expected: 12 527s # %l -> actual: 12 527s # %I -> expected: 12 527s # %I -> actual: 12 527s # %l -> expected:  1 527s # %l -> actual:  1 527s # %l -> expected: 10 527s # %l -> actual: 10 527s # %m -> expected: 10 527s # %m -> actual: 10 527s # %M -> expected: 00 527s # %M -> actual: 00 527s # %p -> expected: AM 527s # %p -> actual: AM 527s # %p -> expected: PM 527s # %p -> actual: PM 527s # %P -> expected: am 527s # %P -> actual: am 527s # %P -> expected: pm 527s # %P -> actual: pm 527s # %r -> expected: 12:00:00 AM 527s # %r -> actual: 12:00:00 AM 527s # %r -> expected: 01:13:13 PM 527s # %r -> actual: 01:13:13 PM 527s # %R -> expected: 00:00 527s # %R -> actual: 00:00 527s # %R -> expected: 13:13 527s # %R -> actual: 13:13 527s # %S -> expected: 00 527s # %S -> actual: 00 527s # %t -> expected: 527s # %t -> actual: 527s # %u -> expected: 6 527s # %u -> actual: 6 527s # %x -> expected: 10/24/09 527s # %x -> actual: 10/24/09 527s # %X -> expected: 00:00:00 527s # %X -> actual: 00:00:00 527s # %X -> expected: 13:14:15 527s # %X -> actual: 13:14:15 527s # %y -> expected: 09 527s # %y -> actual: 09 527s # %Y -> expected: 2009 527s # %Y -> actual: 2009 527s # %% -> expected: % 527s # %% -> actual: % 527s # % -> expected: 527s # % -> actual: 527s # %9 -> expected: (null) 527s # %9 -> actual: (null) 527s # %Z -> expected: UTC 527s # %Z -> actual: UTC 527s ok 32 /GDateTime/printf 527s # %a -> expected: ÅÚ 527s # %a -> actual: ÅÚ 527s # %A -> expected: ÅÚÍËÆü 527s # %A -> actual: ÅÚÍËÆü 527s # %b -> expected: 10·î 527s # %b -> actual: 10·î 527s # %B -> expected: 10·î 527s # %B -> actual: 10·î 527s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 527s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 527s # %C -> expected: 20 527s # %C -> actual: 20 527s # %d -> expected: 24 527s # %d -> actual: 24 527s # %d -> expected: 01 527s # %d -> actual: 01 527s # %e -> expected: 24 527s # %e -> actual: 24 527s # %h -> expected: 10·î 527s # %h -> actual: 10·î 527s # %H -> expected: 00 527s # %H -> actual: 00 527s # %H -> expected: 15 527s # %H -> actual: 15 527s # %I -> expected: 12 527s # %I -> actual: 12 527s # %I -> expected: 12 527s # %I -> actual: 12 527s # %I -> expected: 03 527s # %I -> actual: 03 527s # %j -> expected: 297 527s # %j -> actual: 297 527s # %k -> expected: ?0 527s # %k -> actual: ?0 527s # %k -> expected: 13 527s # %k -> actual: 13 527s # %l -> expected: 12 527s # %l -> actual: 12 527s # %I -> expected: 12 527s # %I -> actual: 12 527s # %l -> expected: ?1 527s # %l -> actual: ?1 527s # %l -> expected: 10 527s # %l -> actual: 10 527s # %m -> expected: 10 527s # %m -> actual: 10 527s # %M -> expected: 00 527s # %M -> actual: 00 527s # %p -> expected: ¸áÁ° 527s # %p -> actual: ¸áÁ° 527s # %p -> expected: ¸á¸å 527s # %p -> actual: ¸á¸å 527s # %P -> expected: ¸áÁ° 527s # %P -> actual: ¸áÁ° 527s # %P -> expected: ¸á¸å 527s # %P -> actual: ¸á¸å 527s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 527s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 527s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 527s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 527s # %R -> expected: 00:00 527s # %R -> actual: 00:00 527s # %R -> expected: 13:13 527s # %R -> actual: 13:13 527s # %S -> expected: 00 527s # %S -> actual: 00 527s # %t -> expected: 527s # %t -> actual: 527s # %u -> expected: 6 527s # %u -> actual: 6 527s # %x -> expected: 2009ǯ10·î24Æü 527s # %x -> actual: 2009ǯ10·î24Æü 527s # %X -> expected: 00»þ00ʬ00Éà 527s # %X -> actual: 00»þ00ʬ00Éà 527s # %X -> expected: 13»þ14ʬ15Éà 527s # %X -> actual: 13»þ14ʬ15Éà 527s # %y -> expected: 09 527s # %y -> actual: 09 527s # %Y -> expected: 2009 527s # %Y -> actual: 2009 527s # %% -> expected: % 527s # %% -> actual: % 527s # % -> expected: 527s # % -> actual: 527s # %9 -> expected: (null) 527s # %9 -> actual: (null) 527s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 527s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 527s # %EC -> expected: 20 527s # %EC -> actual: 20 527s # %Ex -> expected: 2009ǯ10·î24Æü 527s # %Ex -> actual: 2009ǯ10·î24Æü 527s # %EX -> expected: 00»þ00ʬ00Éà 527s # %EX -> actual: 00»þ00ʬ00Éà 527s # %Ey -> expected: 09 527s # %Ey -> actual: 09 527s # %EY -> expected: 2009 527s # %EY -> actual: 2009 527s ok 33 /GDateTime/non_utf8_printf 527s # ???? -> expected: ???? 527s # ???? -> actual: ???? 527s # %H?%M -> expected: 23?15 527s # %H?%M -> actual: 23?15 527s # %H?%M -> expected: 23?15 527s # %H?%M -> actual: 23?15 527s ok 34 /GDateTime/format_unrepresentable 527s ok 35 /GDateTime/format_iso8601 527s ok 36 /GDateTime/strftime 527s # %d -> expected: 01 527s # %d -> actual: 01 527s # %_d -> expected: 1 527s # %_d -> actual: 1 527s # %-d -> expected: 1 527s # %-d -> actual: 1 527s # %0d -> expected: 01 527s # %0d -> actual: 01 527s # %d -> expected: 21 527s # %d -> actual: 21 527s # %_d -> expected: 21 527s # %_d -> actual: 21 527s # %-d -> expected: 21 527s # %-d -> actual: 21 527s # %0d -> expected: 21 527s # %0d -> actual: 21 527s # %e -> expected:  1 527s # %e -> actual:  1 527s # %_e -> expected: 1 527s # %_e -> actual: 1 527s # %-e -> expected: 1 527s # %-e -> actual: 1 527s # %0e -> expected: 01 527s # %0e -> actual: 01 527s # %e -> expected: 21 527s # %e -> actual: 21 527s # %_e -> expected: 21 527s # %_e -> actual: 21 527s # %-e -> expected: 21 527s # %-e -> actual: 21 527s # %0e -> expected: 21 527s # %0e -> actual: 21 527s # %a -> expected: Thu 527s # %a -> actual: Thu 527s # %^a -> expected: THU 527s # %^a -> actual: THU 527s # %#a -> expected: THU 527s # %#a -> actual: THU 527s # %A -> expected: Thursday 527s # %A -> actual: Thursday 527s # %^A -> expected: THURSDAY 527s # %^A -> actual: THURSDAY 527s # %#A -> expected: THURSDAY 527s # %#A -> actual: THURSDAY 527s # %b -> expected: Jan 527s # %b -> actual: Jan 527s # %^b -> expected: JAN 527s # %^b -> actual: JAN 527s # %#b -> expected: JAN 527s # %#b -> actual: JAN 527s # %B -> expected: January 527s # %B -> actual: January 527s # %^B -> expected: JANUARY 527s # %^B -> actual: JANUARY 527s # %#B -> expected: JANUARY 527s # %#B -> actual: JANUARY 527s # %h -> expected: Jan 527s # %h -> actual: Jan 527s # %^h -> expected: JAN 527s # %^h -> actual: JAN 527s # %#h -> expected: JAN 527s # %#h -> actual: JAN 527s # %Z -> expected: UTC 527s # %Z -> actual: UTC 527s # %^Z -> expected: UTC 527s # %^Z -> actual: UTC 527s # %#Z -> expected: utc 527s # %#Z -> actual: utc 527s # %H -> expected: 01 527s # %H -> actual: 01 527s # %_H -> expected: 1 527s # %_H -> actual: 1 527s # %-H -> expected: 1 527s # %-H -> actual: 1 527s # %0H -> expected: 01 527s # %0H -> actual: 01 527s # %H -> expected: 21 527s # %H -> actual: 21 527s # %_H -> expected: 21 527s # %_H -> actual: 21 527s # %-H -> expected: 21 527s # %-H -> actual: 21 527s # %0H -> expected: 21 527s # %0H -> actual: 21 527s # %I -> expected: 01 527s # %I -> actual: 01 527s # %_I -> expected: 1 527s # %_I -> actual: 1 527s # %-I -> expected: 1 527s # %-I -> actual: 1 527s # %0I -> expected: 01 527s # %0I -> actual: 01 527s # %I -> expected: 11 527s # %I -> actual: 11 527s # %_I -> expected: 11 527s # %_I -> actual: 11 527s # %-I -> expected: 11 527s # %-I -> actual: 11 527s # %0I -> expected: 11 527s # %0I -> actual: 11 527s # %k -> expected:  1 527s # %k -> actual:  1 527s # %_k -> expected: 1 527s # %_k -> actual: 1 527s # %-k -> expected: 1 527s # %-k -> actual: 1 527s # %0k -> expected: 01 527s # %0k -> actual: 01 527s # %l -> expected:  1 527s # %l -> actual:  1 527s # %_l -> expected: 1 527s # %_l -> actual: 1 527s # %-l -> expected: 1 527s # %-l -> actual: 1 527s # %0l -> expected: 01 527s # %0l -> actual: 01 527s # %l -> expected: 11 527s # %l -> actual: 11 527s # %_l -> expected: 11 527s # %_l -> actual: 11 527s # %-l -> expected: 11 527s # %-l -> actual: 11 527s # %0l -> expected: 11 527s # %0l -> actual: 11 527s # %p -> expected: AM 527s # %p -> actual: AM 527s # %^p -> expected: AM 527s # %^p -> actual: AM 527s # %#p -> expected: am 527s # %#p -> actual: am 527s # %P -> expected: am 527s # %P -> actual: am 527s # %^P -> expected: AM 527s # %^P -> actual: AM 527s # %#P -> expected: am 527s # %#P -> actual: am 527s # %OH -> expected: Û²Û³ 527s # %OH -> actual: Û²Û³ 527s # %OI -> expected: Û±Û± 527s # %OI -> actual: Û±Û± 527s # %OM -> expected: Û°Û° 527s # %OM -> actual: Û°Û° 527s # %Om -> expected: Û°Û· 527s # %Om -> actual: Û°Û· 527s # %0Om -> expected: Û°Û· 527s # %0Om -> actual: Û°Û· 527s # %-Om -> expected: Û· 527s # %-Om -> actual: Û· 527s # %_Om -> expected: Û· 527s # %_Om -> actual: Û· 527s # %c -> expected: thu 01 jan 2009 00:00:00 utc 527s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 527s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 527s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 527s # %C -> expected: 20 527s # %C -> actual: 20 527s # %EC -> expected: 20 527s # %EC -> actual: 20 527s # %x -> expected: 02/01/09 527s # %x -> actual: 02/01/09 527s # %Ex -> expected: 02/01/09 527s # %Ex -> actual: 02/01/09 527s # %X -> expected: 01:02:03 527s # %X -> actual: 01:02:03 527s # %EX -> expected: 01:02:03 527s # %EX -> actual: 01:02:03 527s # %y -> expected: 09 527s # %y -> actual: 09 527s # %Ey -> expected: 09 527s # %Ey -> actual: 09 527s # %Y -> expected: 2009 527s # %Y -> actual: 2009 527s # %EY -> expected: 2009 527s # %EY -> actual: 2009 527s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 527s # Bug Reference: http://bugzilla.gnome.org/749206 527s # %B -> expected: January 527s # %B -> actual: January 527s # %OB -> expected: February 527s # %OB -> actual: February 527s # %b -> expected: Mar 527s # %b -> actual: Mar 527s # %Ob -> expected: Apr 527s # %Ob -> actual: Apr 527s # %h -> expected: May 527s # %h -> actual: May 527s # %Oh -> expected: Jun 527s # %Oh -> actual: Jun 527s # %B -> expected: Juli 527s # %B -> actual: Juli 527s # %OB -> expected: August 527s # %OB -> actual: August 527s # %b -> expected: Sep 527s # %b -> actual: Sep 527s # %Ob -> expected: Okt 527s # %Ob -> actual: Okt 527s # %h -> expected: Nov 527s # %h -> actual: Nov 527s # %Oh -> expected: Dez 527s # %Oh -> actual: Dez 527s # %B -> expected: enero 527s # %B -> actual: enero 527s # %OB -> expected: febrero 527s # %OB -> actual: febrero 527s # %b -> expected: mar 527s # %b -> actual: mar 527s # %Ob -> expected: abr 527s # %Ob -> actual: abr 527s # %h -> expected: may 527s # %h -> actual: may 527s # %Oh -> expected: jun 527s # %Oh -> actual: jun 527s # %B -> expected: juillet 527s # %B -> actual: juillet 527s # %OB -> expected: août 527s # %OB -> actual: août 527s # %b -> expected: sept. 527s # %b -> actual: sept. 527s # %Ob -> expected: oct. 527s # %Ob -> actual: oct. 527s # %h -> expected: nov. 527s # %h -> actual: nov. 527s # %Oh -> expected: déc. 527s # %Oh -> actual: déc. 527s # %B -> expected: ΙανουαÏίου 527s # %B -> actual: ΙανουαÏίου 527s # %B -> expected: ΦεβÏουαÏίου 527s # %B -> actual: ΦεβÏουαÏίου 527s # %B -> expected: ΜαÏτίου 527s # %B -> actual: ΜαÏτίου 527s # %OB -> expected: ΑπÏίλιος 527s # %OB -> actual: ΑπÏίλιος 527s # %OB -> expected: Μάιος 527s # %OB -> actual: Μάιος 527s # %OB -> expected: ΙοÏνιος 527s # %OB -> actual: ΙοÏνιος 527s # %b -> expected: Ιουλ 527s # %b -> actual: Ιουλ 527s # %Ob -> expected: ΑÏγ 527s # %Ob -> actual: ΑÏγ 527s # %B -> expected: svibnja 527s # %B -> actual: svibnja 527s # %B -> expected: lipnja 527s # %B -> actual: lipnja 527s # %B -> expected: srpnja 527s # %B -> actual: srpnja 527s # %OB -> expected: Kolovoz 527s # %OB -> actual: kolovoz 527s # %OB -> expected: Rujan 527s # %OB -> actual: rujan 527s # %OB -> expected: Listopad 527s # %OB -> actual: listopad 527s # %b -> expected: Stu 527s # %b -> actual: stu 527s # %Ob -> expected: Pro 527s # %Ob -> actual: pro 527s # %B -> expected: sausio 527s # %B -> actual: sausio 527s # %B -> expected: vasario 527s # %B -> actual: vasario 527s # %B -> expected: kovo 527s # %B -> actual: kovo 527s # %OB -> expected: balandis 527s # %OB -> actual: balandis 527s # %OB -> expected: gegužė 527s # %OB -> actual: gegužė 527s # %OB -> expected: birželis 527s # %OB -> actual: birželis 527s # %b -> expected: liep. 527s # %b -> actual: liep. 527s # %Ob -> expected: rugp. 527s # %Ob -> actual: rugp. 527s # %B -> expected: maja 527s # %B -> actual: maja 527s # %B -> expected: czerwca 527s # %B -> actual: czerwca 527s # %B -> expected: lipca 527s # %B -> actual: lipca 527s # %OB -> expected: sierpieÅ„ 527s # %OB -> actual: sierpieÅ„ 527s # %OB -> expected: wrzesieÅ„ 527s # %OB -> actual: wrzesieÅ„ 527s # %OB -> expected: październik 527s # %OB -> actual: październik 527s # %b -> expected: lis 527s # %b -> actual: lis 527s # %Ob -> expected: gru 527s # %Ob -> actual: gru 527s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 527s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 527s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 527s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 527s # %B -> expected: марта 527s # %B -> actual: марта 527s # %OB -> expected: Ðпрель 527s # %OB -> actual: Ðпрель 527s # %OB -> expected: Май 527s # %OB -> actual: Май 527s # %OB -> expected: Июнь 527s # %OB -> actual: Июнь 527s # %b -> expected: июл 527s # %b -> actual: июл 527s # %Ob -> expected: авг 527s # %Ob -> actual: авг 527s # %b -> expected: Ð¼Ð°Ñ 527s # %b -> actual: Ð¼Ð°Ñ 527s # %Ob -> expected: май 527s # %Ob -> actual: май 527s ok 38 /GDateTime/month_names 527s ok 39 /GDateTime/to_local 527s ok 40 /GDateTime/to_unix 527s ok 41 /GDateTime/to_timeval 527s ok 42 /GDateTime/to_utc 527s ok 43 /GDateTime/now_utc 527s ok 44 /GDateTime/dst 527s # Bug Reference: http://bugzilla.gnome.org/642935 527s ok 45 /GDateTime/test_z 528s ok 46 /GDateTime/test-all-dates 528s # slow test /GDateTime/test-all-dates executed in 1.20 secs 528s ok 47 /GDateTime/unix_usec 528s # Start of new_from_unix tests 528s # Bug Reference: http://bugzilla.gnome.org/782089 528s ok 48 /GDateTime/new_from_unix/overflow 528s # End of new_from_unix tests 528s # Start of new_from_timeval tests 528s # Bug Reference: http://bugzilla.gnome.org/782089 528s # Maximum supported GTimeVal.tv_sec = 253402300799 528s ok 49 /GDateTime/new_from_timeval/overflow 528s # End of new_from_timeval tests 528s # Start of new_from_iso8601 tests 528s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 528s # Vector 0: 1990-11-01T10:21:17Z 528s # Vector 1: 19901101T102117Z 528s # Vector 2: 1970-01-01T00:00:17.12Z 528s # Vector 3: 1970-01-01T00:00:17.1234Z 528s # Vector 4: 1970-01-01T00:00:17.123456Z 528s # Vector 5: 1980-02-22T12:36:00+02:00 528s # Vector 6: 1990-12-31T15:59:60-08:00 528s # Vector 7: 528s # Vector 8: x 528s # Vector 9: 123x 528s # Vector 10: 2001-10+x 528s # Vector 11: 1980-02-22T 528s # Vector 12: 2001-10-08Tx 528s # Vector 13: 2001-10-08T10:11x 528s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 528s # Vector 15: 1980-02-22T10:36:00Zulu 528s # Vector 16: 2T0+819855292164632335 528s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 528s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 528s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 528s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 528s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 528s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 528s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 528s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 528s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 528s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 528s # Vector 27: 20180803T140805.446178377+0100 528s # Vector 28: 21474836480803T140805.446178377+0100 528s # Vector 29: 20181303T140805.446178377+0100 528s # Vector 30: 20180003T140805.446178377+0100 528s # Vector 31: 20180800T140805.446178377+0100 528s # Vector 32: 20180832T140805.446178377+0100 528s # Vector 33: 20180803T240805.446178377+0100 528s # Vector 34: 20180803T146005.446178377+0100 528s # Vector 35: 20180803T140863.446178377+0100 528s # Vector 36: 20180803T140805.446178377+10000 528s # Vector 37: -0005-01-01T00:00:00Z 528s # Vector 38: 2018-08-06 528s # Vector 39: 20180803T140805,446178377+0100 528s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 528s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 528s # Vector 42: 1990-11-01T10:21:17 528s # Vector 43: 1719W462 407777-07 528s # Vector 44: 4011090 260528Z 528s # Vector 45: 0000W011 228214-22 528s ok 50 /GDateTime/new_from_iso8601/2 528s # End of new_from_iso8601 tests 528s # Start of format_mixed tests 528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 528s # %b -> expected: mar 528s # %b -> actual: Mar 528s # %B -> expected: march 528s # %B -> actual: March 528s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 528s # %b -> expected: mar 528s # %b -> actual: Mar 528s # %B -> expected: march 528s # %B -> actual: March 528s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 528s # %b -> expected: Mär 528s # %b -> actual: Mär 528s # %B -> expected: März 528s # %B -> actual: März 528s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 528s # %b -> expected: Mär 528s # %b -> actual: Mär 528s # %B -> expected: März 528s # %B -> actual: März 528s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 528s # End of format_mixed tests 528s # Start of strftime tests 528s # %r -> expected: (null) 528s # %r -> actual: (null) 528s ok 55 /GDateTime/strftime/error_handling 528s # End of strftime tests 528s # Start of eras tests 528s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 528s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 528s # Vector 0: 528s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 528s # 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å¹´ 528s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 528s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 528s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 528s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 528s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 528s # Vector 8: + 528s # Vector 9: +: 528s # Vector 10: +:: 528s # Vector 11: +:200 528s # Vector 12: +:2nonsense 528s # Vector 13: +:2nonsense: 528s # Vector 14: +:2: 528s # Vector 15: +:2:: 528s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 528s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 528s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 528s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 528s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 528s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 528s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 528s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 528s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 528s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 528s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 528s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 528s # Vector 28: +:2:2020/01/01 528s # Vector 29: +:2:2020/01/01: 528s # Vector 30: +:2:2020/01/01:: 528s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 528s # Vector 32: +:2:2020/01/01:+* 528s # Vector 33: +:2:2020/01/01:+*: 528s # Vector 34: +:2:2020/01/01:+*:: 528s # Vector 35: +:2:2020/01/01:+*:令和 528s # Vector 36: +:2:2020/01/01:+*:令和: 528s # Vector 37: +:2:2020/01/01:+*:令和:; 528s ok 58 /GDateTime/eras/parsing 528s # End of eras tests 528s # End of GDateTime tests 528s # Start of GTimeZone tests 528s ok 59 /GTimeZone/find-interval 528s ok 60 /GTimeZone/adjust-time 528s ok 61 /GTimeZone/no-header 528s ok 62 /GTimeZone/no-header-identifier 528s ok 63 /GTimeZone/posix-parse 528s # Bug Reference: http://bugzilla.gnome.org/697715 528s ok 64 /GTimeZone/floating-point 528s # System time zone identifier: Etc/UTC 528s ok 65 /GTimeZone/identifier 528s # Vector 0: -158400 528s # Vector 1: -10000 528s # Vector 2: -3600 528s # Vector 3: -61 528s # Vector 4: -60 528s # Vector 5: -59 528s # Vector 6: 0 528s # Vector 7: 59 528s # Vector 8: 60 528s # Vector 9: 61 528s # Vector 10: 3600 528s # Vector 11: 10000 528s # Vector 12: 158400 528s ok 66 /GTimeZone/new-offset 528s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 528s ok 67 /GTimeZone/parse-rfc8536 528s # /GTimeZone/caching summary: GTimeZone instances are cached 528s ok 68 /GTimeZone/caching 528s # End of GTimeZone tests 528s ok - glib/gdatetime.test 528s # Running test: glib/tls-bindings.test 528s TAP version 14 528s # random seed: R02S32e18d91a2939904585173334fdb2e45 528s 1..2 528s # Start of tls-connection tests 528s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 528s ok 1 /tls-connection/get-tls-channel-binding 528s ok 2 /tls-connection/get-dtls-channel-binding 528s # End of tls-connection tests 528s ok - glib/tls-bindings.test 528s # Running test: glib/async-splice-output-stream.test 528s TAP version 14 528s # random seed: R02S075ccfa22fba6d4ff56966b7ec7032fd 528s 1..5 528s # Start of async-splice tests 528s ok 1 /async-splice/copy-chunks 528s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 528s ok 2 /async-splice/copy-chunks-threaded-input 528s ok 3 /async-splice/copy-chunks-threaded-output 528s ok 4 /async-splice/copy-chunks-threaded 528s ok 5 /async-splice/cancelled 528s # End of async-splice tests 528s ok - glib/async-splice-output-stream.test 528s # Running test: glib/defaultiface.test 528s TAP version 14 528s # random seed: R02S3abe323fab8e3480ee824b6c1c89e449 528s 1..2 528s # Start of gobject tests 528s ok 1 /gobject/static-iface 528s ok 2 /gobject/dynamic-iface 528s # End of gobject tests 528s ok - glib/defaultiface.test 528s # Running test: glib/vfs.test 528s TAP version 14 528s # random seed: R02S8e577ddcf24422aff3eab3e02fa71c52 528s 1..3 528s # Start of gvfs tests 528s ok 1 /gvfs/local 528s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 528s ok 2 /gvfs/register-scheme 528s # Start of resource tests 528s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 528s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 528s ok 3 /gvfs/resource/malformed-escaping 528s # End of resource tests 528s # End of gvfs tests 528s ok - glib/vfs.test 528s # Running test: glib/pattern.test 528s TAP version 14 528s # random seed: R02Sea386af23e7c13fc1193a665c2b6aa7c 528s 1..90 528s # Start of pattern tests 528s # Start of compile tests 528s ok 1 /pattern/compile/0 528s ok 2 /pattern/compile/1 528s ok 3 /pattern/compile/2 528s ok 4 /pattern/compile/3 528s ok 5 /pattern/compile/4 528s ok 6 /pattern/compile/5 528s ok 7 /pattern/compile/6 528s ok 8 /pattern/compile/7 528s ok 9 /pattern/compile/8 528s ok 10 /pattern/compile/9 528s ok 11 /pattern/compile/10 528s ok 12 /pattern/compile/11 528s ok 13 /pattern/compile/12 528s ok 14 /pattern/compile/13 528s # End of compile tests 528s # Start of copy tests 528s ok 15 /pattern/copy/0 528s ok 16 /pattern/copy/1 528s ok 17 /pattern/copy/2 528s ok 18 /pattern/copy/3 528s ok 19 /pattern/copy/4 528s ok 20 /pattern/copy/5 528s ok 21 /pattern/copy/6 528s ok 22 /pattern/copy/7 528s ok 23 /pattern/copy/8 528s ok 24 /pattern/copy/9 528s ok 25 /pattern/copy/10 528s ok 26 /pattern/copy/11 528s ok 27 /pattern/copy/12 528s ok 28 /pattern/copy/13 528s # End of copy tests 528s # Start of match tests 528s ok 29 /pattern/match/0 528s ok 30 /pattern/match/1 528s ok 31 /pattern/match/2 528s ok 32 /pattern/match/3 528s ok 33 /pattern/match/4 528s ok 34 /pattern/match/5 528s ok 35 /pattern/match/6 528s ok 36 /pattern/match/7 528s ok 37 /pattern/match/8 528s ok 38 /pattern/match/9 528s ok 39 /pattern/match/10 528s ok 40 /pattern/match/11 528s ok 41 /pattern/match/12 528s ok 42 /pattern/match/13 528s ok 43 /pattern/match/14 528s ok 44 /pattern/match/15 528s ok 45 /pattern/match/16 528s ok 46 /pattern/match/17 528s ok 47 /pattern/match/18 528s ok 48 /pattern/match/19 528s ok 49 /pattern/match/20 528s ok 50 /pattern/match/21 528s ok 51 /pattern/match/22 528s ok 52 /pattern/match/23 528s ok 53 /pattern/match/24 528s ok 54 /pattern/match/25 528s ok 55 /pattern/match/26 528s ok 56 /pattern/match/27 528s ok 57 /pattern/match/28 528s ok 58 /pattern/match/29 528s ok 59 /pattern/match/30 528s ok 60 /pattern/match/31 528s ok 61 /pattern/match/32 528s ok 62 /pattern/match/33 528s ok 63 /pattern/match/34 528s ok 64 /pattern/match/35 528s ok 65 /pattern/match/36 528s ok 66 /pattern/match/37 528s ok 67 /pattern/match/38 528s ok 68 /pattern/match/39 528s ok 69 /pattern/match/40 528s ok 70 /pattern/match/41 528s ok 71 /pattern/match/42 528s ok 72 /pattern/match/43 528s ok 73 /pattern/match/44 528s ok 74 /pattern/match/45 528s ok 75 /pattern/match/46 528s ok 76 /pattern/match/47 528s ok 77 /pattern/match/48 528s ok 78 /pattern/match/49 528s ok 79 /pattern/match/50 528s # End of match tests 528s # Start of equal tests 528s ok 80 /pattern/equal/0 528s ok 81 /pattern/equal/1 528s ok 82 /pattern/equal/2 528s ok 83 /pattern/equal/3 528s ok 84 /pattern/equal/4 528s ok 85 /pattern/equal/5 528s ok 86 /pattern/equal/6 528s ok 87 /pattern/equal/7 528s ok 88 /pattern/equal/8 528s ok 89 /pattern/equal/9 528s ok 90 /pattern/equal/10 528s # End of equal tests 528s # End of pattern tests 528s ok - glib/pattern.test 528s # Running test: glib/flags.test 528s TAP version 14 528s # random seed: R02S497d230c4a574eb23f497ec6d6b58922 528s 1..1 528s # Start of gobject tests 528s # Start of flags tests 528s ok 1 /gobject/flags/validate 528s # End of flags tests 528s # End of gobject tests 528s ok - glib/flags.test 528s # Running test: glib/utf8-pointer.test 528s TAP version 14 528s # random seed: R02Se2b300a7ae989c9506036a1cd9b52cbc 528s 1..3 528s # Start of utf8 tests 529s ok 1 /utf8/offsets 529s # slow test /utf8/offsets executed in 0.68 secs 529s ok 2 /utf8/lengths 529s ok 3 /utf8/find 529s # End of utf8 tests 529s ok - glib/utf8-pointer.test 529s # Running test: glib/testfilemonitor.test 529s TAP version 14 529s # random seed: R02Sf16e21a01c4ece4304c1078a4e56e8a8 529s 1..8 529s # Start of monitor tests 529s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 529s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 529s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 529s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s # Start of file tests 529s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 529s # End of file tests 529s # End of monitor tests 529s ok - glib/testfilemonitor.test 529s # Running test: glib/win32-appinfo.test 529s TAP version 14 529s # random seed: R02S1b38d69848bb0450db515617dac075fb 529s 1..5 529s # Start of appinfo tests 529s ok 1 /appinfo/utf16-strfuncs 529s ok 2 /appinfo/win32-extract-executable 529s ok 3 /appinfo/win32-rundll32-fixup 529s ok 4 /appinfo/win32-parse-filename 529s ok 5 /appinfo/win32-utf16-conversion-fail 529s # Start of subprocess tests 529s # End of subprocess tests 529s # End of appinfo tests 529s ok - glib/win32-appinfo.test 529s # Running test: glib/mkenums.py.test 529s TAP version 13 529s ok 1 __main__.TestMkenums.test_available_in 529s # tmpdir: /tmp/tmp9es5mvfm 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmp9es5mvfm/tmp8_7_3yzp.h: 529s # typedef enum { 529s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 529s # } GDBusServerFlags; 529s # 529s # /tmp/tmp9es5mvfm/tmpm2z69tcj.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9es5mvfm/tmpm2z69tcj.template', '/tmp/tmp9es5mvfm/tmp8_7_3yzp.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmp9es5mvfm/tmp8_7_3yzp.h 529s # basename: tmp8_7_3yzp.h 529s # enumeration-production 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-header 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-production 529s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 529s # valuenick: user 529s # valuenum: 4 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-tail 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 2 __main__.TestMkenums.test_comma_in_enum_value 529s # tmpdir: /tmp/tmp3wwplrju 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmp3wwplrju/tmplyhxays4.h: 529s # typedef enum { 529s # ENUM_VALUE_WITH_COMMA = ',', 529s # } TestCommaEnum; 529s # 529s # /tmp/tmp3wwplrju/tmp8ixp_ori.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3wwplrju/tmp8ixp_ori.template', '/tmp/tmp3wwplrju/tmplyhxays4.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmp3wwplrju/tmplyhxays4.h 529s # basename: tmplyhxays4.h 529s # enumeration-production 529s # EnumName: TestCommaEnum 529s # enum_name: test_comma_enum 529s # ENUMNAME: TEST_COMMA_ENUM 529s # ENUMSHORT: COMMA_ENUM 529s # ENUMPREFIX: TEST 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-header 529s # EnumName: TestCommaEnum 529s # enum_name: test_comma_enum 529s # ENUMNAME: TEST_COMMA_ENUM 529s # ENUMSHORT: COMMA_ENUM 529s # ENUMPREFIX: TEST 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-production 529s # VALUENAME: ENUM_VALUE_WITH_COMMA 529s # valuenick: comma 529s # valuenum: 44 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-tail 529s # EnumName: TestCommaEnum 529s # enum_name: test_comma_enum 529s # ENUMNAME: TEST_COMMA_ENUM 529s # ENUMSHORT: COMMA_ENUM 529s # ENUMPREFIX: TEST 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 3 __main__.TestMkenums.test_deprecated_in 529s # tmpdir: /tmp/tmpqtrknlpf 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmpqtrknlpf/tmpbh63ib8l.h: 529s # typedef enum { 529s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 529s # } GDBusServerFlags; 529s # 529s # /tmp/tmpqtrknlpf/tmpwg5ow95r.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqtrknlpf/tmpwg5ow95r.template', '/tmp/tmpqtrknlpf/tmpbh63ib8l.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmpqtrknlpf/tmpbh63ib8l.h 529s # basename: tmpbh63ib8l.h 529s # enumeration-production 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-header 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-production 529s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 529s # valuenick: user 529s # valuenum: 4 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-tail 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 4 __main__.TestMkenums.test_deprecated_in_for 529s # tmpdir: /tmp/tmputph1fto 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmputph1fto/tmpfcaxsn9c.h: 529s # typedef enum { 529s # 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) 529s # } GDBusServerFlags; 529s # 529s # /tmp/tmputph1fto/tmpuxcue3xq.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmputph1fto/tmpuxcue3xq.template', '/tmp/tmputph1fto/tmpfcaxsn9c.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmputph1fto/tmpfcaxsn9c.h 529s # basename: tmpfcaxsn9c.h 529s # enumeration-production 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-header 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-production 529s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 529s # valuenick: user 529s # valuenum: 4 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # value-tail 529s # EnumName: GDBusServerFlags 529s # enum_name: g_dbus_server_flags 529s # ENUMNAME: G_DBUS_SERVER_FLAGS 529s # ENUMSHORT: DBUS_SERVER_FLAGS 529s # ENUMPREFIX: G 529s # enumsince: 529s # type: flags 529s # Type: Flags 529s # TYPE: FLAGS 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 5 __main__.TestMkenums.test_empty_header 529s # tmpdir: /tmp/tmp54i2ie8w 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmp54i2ie8w/tmpfv3am9eg.h: 529s # /tmp/tmp54i2ie8w/tmpujc43vw2.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp54i2ie8w/tmpujc43vw2.template', '/tmp/tmp54i2ie8w/tmpfv3am9eg.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 6 __main__.TestMkenums.test_empty_template 529s # tmpdir: /tmp/tmph89b2j0y 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmph89b2j0y/tmpa3pq69sy.template: 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph89b2j0y/tmpa3pq69sy.template'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # 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. */ 529s # 529s # 529s # /* Generated data ends here */ 529s ok 7 __main__.TestMkenums.test_enum_name 529s # tmpdir: /tmp/tmpughg4w71 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmpughg4w71/tmprb81vh66.h: 529s # typedef enum _SomeEnumIdentifier { 529s # ENUM_VALUE 529s # } SomeEnumIdentifier; 529s # 529s # /tmp/tmpughg4w71/tmpw8ig_wu3.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpughg4w71/tmpw8ig_wu3.template', '/tmp/tmpughg4w71/tmprb81vh66.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmpughg4w71/tmprb81vh66.h 529s # basename: tmprb81vh66.h 529s # enumeration-production 529s # EnumName: SomeEnumIdentifier 529s # enum_name: some_enum_identifier 529s # ENUMNAME: SOME_ENUM_IDENTIFIER 529s # ENUMSHORT: ENUM_IDENTIFIER 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-header 529s # EnumName: SomeEnumIdentifier 529s # enum_name: some_enum_identifier 529s # ENUMNAME: SOME_ENUM_IDENTIFIER 529s # ENUMSHORT: ENUM_IDENTIFIER 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-production 529s # VALUENAME: ENUM_VALUE 529s # valuenick: value 529s # valuenum: 0 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-tail 529s # EnumName: SomeEnumIdentifier 529s # enum_name: some_enum_identifier 529s # ENUMNAME: SOME_ENUM_IDENTIFIER 529s # ENUMSHORT: ENUM_IDENTIFIER 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 8 __main__.TestMkenums.test_enum_private_public 529s # tmpdir: /tmp/tmppf7s9lpj 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmppf7s9lpj/tmp2l2db3z4.h: 529s # typedef enum { 529s # ENUM_VALUE_PUBLIC1, 529s # /*< private >*/ 529s # ENUM_VALUE_PRIVATE, 529s # } SomeEnumA 529s # 529s # /tmp/tmppf7s9lpj/tmpt013jlxk.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppf7s9lpj/tmpt013jlxk.template', '/tmp/tmppf7s9lpj/tmp2l2db3z4.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmppf7s9lpj/tmp2l2db3z4.h 529s # basename: tmp2l2db3z4.h 529s # enumeration-production 529s # EnumName: SomeEnumA 529s # enum_name: some_enum_a 529s # ENUMNAME: SOME_ENUM_A 529s # ENUMSHORT: ENUM_A 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-header 529s # EnumName: SomeEnumA 529s # enum_name: some_enum_a 529s # ENUMNAME: SOME_ENUM_A 529s # ENUMSHORT: ENUM_A 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-production 529s # VALUENAME: ENUM_VALUE_PUBLIC1 529s # valuenick: public1 529s # valuenum: 0 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-tail 529s # EnumName: SomeEnumA 529s # enum_name: some_enum_a 529s # ENUMNAME: SOME_ENUM_A 529s # ENUMSHORT: ENUM_A 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s # /tmp/tmppf7s9lpj/tmpin8d30i3.h: 529s # typedef enum { 529s # /*< private >*/ 529s # ENUM_VALUE_PRIVATE, 529s # /*< public >*/ 529s # ENUM_VALUE_PUBLIC2, 529s # } SomeEnumB; 529s # 529s # /tmp/tmppf7s9lpj/tmpl4o7wlo0.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppf7s9lpj/tmpl4o7wlo0.template', '/tmp/tmppf7s9lpj/tmpin8d30i3.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmppf7s9lpj/tmpin8d30i3.h 529s # basename: tmpin8d30i3.h 529s # enumeration-production 529s # EnumName: SomeEnumB 529s # enum_name: some_enum_b 529s # ENUMNAME: SOME_ENUM_B 529s # ENUMSHORT: ENUM_B 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-header 529s # EnumName: SomeEnumB 529s # enum_name: some_enum_b 529s # ENUMNAME: SOME_ENUM_B 529s # ENUMSHORT: ENUM_B 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-production 529s # VALUENAME: ENUM_VALUE_PUBLIC2 529s # valuenick: public2 529s # valuenum: 1 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-tail 529s # EnumName: SomeEnumB 529s # enum_name: some_enum_b 529s # ENUMNAME: SOME_ENUM_B 529s # ENUMSHORT: ENUM_B 529s # ENUMPREFIX: SOME 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 529s # tmpdir: /tmp/tmpx4raxi0m 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmpx4raxi0m/tmpag7guwq8.h: 529s # typedef enum { 529s # /*< private >*/ 529s # ENUM_VALUE_PRIVATE = 5, 529s # /*< public >*/ 529s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 529s # } TestSymbolicEnum; 529s # 529s # /tmp/tmpx4raxi0m/tmpiwr15nj9.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx4raxi0m/tmpiwr15nj9.template', '/tmp/tmpx4raxi0m/tmpag7guwq8.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmpx4raxi0m/tmpag7guwq8.h 529s # basename: tmpag7guwq8.h 529s # enumeration-production 529s # EnumName: TestSymbolicEnum 529s # enum_name: test_symbolic_enum 529s # ENUMNAME: TEST_SYMBOLIC_ENUM 529s # ENUMSHORT: SYMBOLIC_ENUM 529s # ENUMPREFIX: TEST 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-header 529s # EnumName: TestSymbolicEnum 529s # enum_name: test_symbolic_enum 529s # ENUMNAME: TEST_SYMBOLIC_ENUM 529s # ENUMSHORT: SYMBOLIC_ENUM 529s # ENUMPREFIX: TEST 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-production 529s # VALUENAME: ENUM_VALUE_PUBLIC 529s # valuenick: public 529s # valuenum: 7 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-tail 529s # EnumName: TestSymbolicEnum 529s # enum_name: test_symbolic_enum 529s # ENUMNAME: TEST_SYMBOLIC_ENUM 529s # ENUMSHORT: SYMBOLIC_ENUM 529s # ENUMPREFIX: TEST 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 529s # tmpdir: /tmp/tmptfbcd3w6 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmptfbcd3w6/tmp8beynn65.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-tail ***/ 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptfbcd3w6/tmp8beynn65.template'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # filename: @filename@ 529s # basename: @basename@ 529s # file-tail 529s # filename: @filename@ 529s # basename: @basename@ 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 11 __main__.TestMkenums.test_help 529s # tmpdir: /tmp/tmpndcoj4bm 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # Running: ['/usr/bin/glib-mkenums', '--help'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 529s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 529s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 529s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 529s # [--comments COMMENT_TMPL] [--template TEMPLATE] 529s # [--output OUTPUT] [--version] 529s # [args ...] 529s # 529s # positional arguments: 529s # args One or more input files, or a single argument 529s # @rspfile_path pointing to a file that contains the 529s # actual arguments 529s # 529s # options: 529s # -h, --help show this help message and exit 529s # --identifier-prefix IDPREFIX 529s # Identifier prefix 529s # --symbol-prefix SYMPREFIX 529s # Symbol prefix 529s # --fhead FHEAD Output file header 529s # --ftail FTAIL Output file footer 529s # --fprod FPROD Put out TEXT every time a new input file is being 529s # processed. 529s # --eprod EPROD Per enum text, produced prior to value iterations 529s # --vhead VHEAD Value header, produced before iterating over enum 529s # values 529s # --vprod VPROD Value text, produced for each enum value. 529s # --vtail VTAIL Value tail, produced after iterating over enum values 529s # --comments COMMENT_TMPL 529s # Comment structure 529s # --template TEMPLATE Template file 529s # --output OUTPUT 529s # --version, -v Print version information 529s # 529s # Production text substitutions: 529s # @EnumName@ PrefixTheXEnum 529s # @enum_name@ prefix_the_xenum 529s # @ENUMNAME@ PREFIX_THE_XENUM 529s # @ENUMSHORT@ THE_XENUM 529s # @ENUMPREFIX@ PREFIX 529s # @enumsince@ the user-provided since value given 529s # @VALUENAME@ PREFIX_THE_XVALUE 529s # @valuenick@ the-xvalue 529s # @valuenum@ the integer value (limited support, Since: 2.26) 529s # @type@ either enum or flags 529s # @Type@ either Enum or Flags 529s # @TYPE@ either ENUM or FLAGS 529s # @filename@ name of current input file 529s # @basename@ base name of the current input file (Since: 2.22) 529s ok 12 __main__.TestMkenums.test_no_args 529s # tmpdir: /tmp/tmp1do4qlpd 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # Running: ['/usr/bin/glib-mkenums'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # 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. */ 529s # 529s # 529s # /* Generated data ends here */ 529s ok 13 __main__.TestMkenums.test_no_headers 529s # tmpdir: /tmp/tmp3fnhxddm 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmp3fnhxddm/tmpm5v294ah.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3fnhxddm/tmpm5v294ah.template'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 529s ok 14 __main__.TestMkenums.test_no_nick 529s # tmpdir: /tmp/tmpl_3dcgmu 529s # rspfile: False, mkenums: /usr/bin/glib-mkenums 529s # /tmp/tmpl_3dcgmu/tmphjh0b6a9.h: 529s # typedef enum { 529s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 529s # } GeglSamplerType; 529s # 529s # /tmp/tmpl_3dcgmu/tmpotnemasq.template: 529s # /*** BEGIN file-header ***/ 529s # file-header 529s # /*** END file-header ***/ 529s # 529s # /*** BEGIN file-production ***/ 529s # file-production 529s # filename: @filename@ 529s # basename: @basename@ 529s # /*** END file-production ***/ 529s # 529s # /*** BEGIN enumeration-production ***/ 529s # enumeration-production 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END enumeration-production ***/ 529s # 529s # /*** BEGIN value-header ***/ 529s # value-header 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-header ***/ 529s # 529s # /*** BEGIN value-production ***/ 529s # value-production 529s # VALUENAME: @VALUENAME@ 529s # valuenick: @valuenick@ 529s # valuenum: @valuenum@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-production ***/ 529s # 529s # /*** BEGIN value-tail ***/ 529s # value-tail 529s # EnumName: @EnumName@ 529s # enum_name: @enum_name@ 529s # ENUMNAME: @ENUMNAME@ 529s # ENUMSHORT: @ENUMSHORT@ 529s # ENUMPREFIX: @ENUMPREFIX@ 529s # enumsince: @enumsince@ 529s # type: @type@ 529s # Type: @Type@ 529s # TYPE: @TYPE@ 529s # /*** END value-tail ***/ 529s # 529s # /*** BEGIN comment ***/ 529s # comment 529s # comment: @comment@ 529s # /*** END comment ***/ 529s # 529s # /*** BEGIN file-tail ***/ 529s # file-tail 529s # /*** END file-tail ***/ 529s # 529s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl_3dcgmu/tmpotnemasq.template', '/tmp/tmpl_3dcgmu/tmphjh0b6a9.h'] 529s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 529s # Output: comment 529s # 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. 529s # 529s # 529s # file-header 529s # file-production 529s # filename: /tmp/tmpl_3dcgmu/tmphjh0b6a9.h 529s # basename: tmphjh0b6a9.h 529s # enumeration-production 529s # EnumName: GeglSamplerType 529s # enum_name: gegl_sampler_type 529s # ENUMNAME: GEGL_SAMPLER_TYPE 529s # ENUMSHORT: SAMPLER_TYPE 529s # ENUMPREFIX: GEGL 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-header 529s # EnumName: GeglSamplerType 529s # enum_name: gegl_sampler_type 529s # ENUMNAME: GEGL_SAMPLER_TYPE 529s # ENUMSHORT: SAMPLER_TYPE 529s # ENUMPREFIX: GEGL 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-production 529s # VALUENAME: GEGL_SAMPLER_NEAREST 529s # valuenick: nearest 529s # valuenum: 0 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # value-tail 529s # EnumName: GeglSamplerType 529s # enum_name: gegl_sampler_type 529s # ENUMNAME: GEGL_SAMPLER_TYPE 529s # ENUMSHORT: SAMPLER_TYPE 529s # ENUMPREFIX: GEGL 529s # enumsince: 529s # type: enum 529s # Type: Enum 529s # TYPE: ENUM 529s # file-tail 529s # 529s # comment 529s # comment: Generated data ends here 530s ok 15 __main__.TestMkenums.test_non_utf8_encoding 530s # tmpdir: /tmp/tmp9xkqf5b6 530s # rspfile: False, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmp9xkqf5b6/tmpl3_5cy8d.h: 530s # /* Copyright © La Peña */ 530s # typedef enum { 530s # ENUM_VALUE 530s # } SomeEnumIdentifier; 530s # 530s # /tmp/tmp9xkqf5b6/tmprw5r5cvv.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9xkqf5b6/tmprw5r5cvv.template', '/tmp/tmp9xkqf5b6/tmpl3_5cy8d.h'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmp9xkqf5b6/tmpl3_5cy8d.h 530s # basename: tmpl3_5cy8d.h 530s # enumeration-production 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE 530s # valuenick: value 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 16 __main__.TestMkenums.test_reproducible 530s # tmpdir: /tmp/tmpdqj3r0kl 530s # rspfile: False, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpdqj3r0kl/tmpco3d7m_6.template: template 530s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdqj3r0kl/tmpco3d7m_6.template', '/tmp/tmpdqj3r0kl/tmpaytr81aa1.h', '/tmp/tmpdqj3r0kl/tmpe83r6ruo2.h'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # 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. */ 530s # 530s # 530s # /* Generated data ends here */ 530s # /tmp/tmpdqj3r0kl/tmprw479qsw.template: template 530s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdqj3r0kl/tmprw479qsw.template', '/tmp/tmpdqj3r0kl/tmpe83r6ruo2.h', '/tmp/tmpdqj3r0kl/tmpaytr81aa1.h'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # 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. */ 530s # 530s # 530s # /* Generated data ends here */ 530s ok 17 __main__.TestMkenums.test_since 530s # tmpdir: /tmp/tmpwotqtsm_ 530s # rspfile: False, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpwotqtsm_/tmp0dbz2k0a.h: 530s # typedef enum { /*< since=1.0 >*/ 530s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 530s # } QmiWmsMessageProtocol; 530s # 530s # /tmp/tmpwotqtsm_/tmp7asm4tdj.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwotqtsm_/tmp7asm4tdj.template', '/tmp/tmpwotqtsm_/tmp0dbz2k0a.h'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpwotqtsm_/tmp0dbz2k0a.h 530s # basename: tmp0dbz2k0a.h 530s # enumeration-production 530s # EnumName: QmiWmsMessageProtocol 530s # enum_name: qmi_wms_message_protocol 530s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 530s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 530s # ENUMPREFIX: QMI 530s # enumsince: 1.0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: QmiWmsMessageProtocol 530s # enum_name: qmi_wms_message_protocol 530s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 530s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 530s # ENUMPREFIX: QMI 530s # enumsince: 1.0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 530s # valuenick: cdma 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: QmiWmsMessageProtocol 530s # enum_name: qmi_wms_message_protocol 530s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 530s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 530s # ENUMPREFIX: QMI 530s # enumsince: 1.0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 18 __main__.TestMkenums.test_with_double_quotes 530s # tmpdir: /tmp/tmpb7aetxxc 530s # rspfile: False, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpb7aetxxc/tmphl_j4gwl.h: 530s # typedef enum { 530s # FOO_VALUE /*< nick="eek, a comma" >*/ 530s # } Foo; 530s # 530s # /tmp/tmpb7aetxxc/tmppxmp8x0w.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb7aetxxc/tmppxmp8x0w.template', '/tmp/tmpb7aetxxc/tmphl_j4gwl.h'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpb7aetxxc/tmphl_j4gwl.h 530s # basename: tmphl_j4gwl.h 530s # enumeration-production 530s # EnumName: Foo 530s # enum_name: foo_ 530s # ENUMNAME: FOO_ 530s # ENUMSHORT: 530s # ENUMPREFIX: FOO 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: Foo 530s # enum_name: foo_ 530s # ENUMNAME: FOO_ 530s # ENUMSHORT: 530s # ENUMPREFIX: FOO 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: FOO_VALUE 530s # valuenick: eek, a comma 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: Foo 530s # enum_name: foo_ 530s # ENUMNAME: FOO_ 530s # ENUMSHORT: 530s # ENUMPREFIX: FOO 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 19 __main__.TestRspMkenums.test_available_in 530s # tmpdir: /tmp/tmpqcr3q994 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpqcr3q994/tmp6jar7r3o.h: 530s # typedef enum { 530s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 530s # } GDBusServerFlags; 530s # 530s # /tmp/tmpqcr3q994/tmp_a0ue75u.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpqcr3q994/tmp_a0ue75u.template /tmp/tmpqcr3q994/tmp6jar7r3o.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqcr3q994/tmpag2wdgpq'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpqcr3q994/tmp6jar7r3o.h 530s # basename: tmp6jar7r3o.h 530s # enumeration-production 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-header 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-production 530s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 530s # valuenick: user 530s # valuenum: 4 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-tail 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 530s # tmpdir: /tmp/tmpih1ypri2 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpih1ypri2/tmpq9nm8pmn.h: 530s # typedef enum { 530s # ENUM_VALUE_WITH_COMMA = ',', 530s # } TestCommaEnum; 530s # 530s # /tmp/tmpih1ypri2/tmpd929sh4i.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpih1ypri2/tmpd929sh4i.template /tmp/tmpih1ypri2/tmpq9nm8pmn.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpih1ypri2/tmpdr9u0y23'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpih1ypri2/tmpq9nm8pmn.h 530s # basename: tmpq9nm8pmn.h 530s # enumeration-production 530s # EnumName: TestCommaEnum 530s # enum_name: test_comma_enum 530s # ENUMNAME: TEST_COMMA_ENUM 530s # ENUMSHORT: COMMA_ENUM 530s # ENUMPREFIX: TEST 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: TestCommaEnum 530s # enum_name: test_comma_enum 530s # ENUMNAME: TEST_COMMA_ENUM 530s # ENUMSHORT: COMMA_ENUM 530s # ENUMPREFIX: TEST 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE_WITH_COMMA 530s # valuenick: comma 530s # valuenum: 44 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: TestCommaEnum 530s # enum_name: test_comma_enum 530s # ENUMNAME: TEST_COMMA_ENUM 530s # ENUMSHORT: COMMA_ENUM 530s # ENUMPREFIX: TEST 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 21 __main__.TestRspMkenums.test_deprecated_in 530s # tmpdir: /tmp/tmp_dcc707r 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmp_dcc707r/tmpznrpc8dj.h: 530s # typedef enum { 530s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 530s # } GDBusServerFlags; 530s # 530s # /tmp/tmp_dcc707r/tmpv977r2xl.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmp_dcc707r/tmpv977r2xl.template /tmp/tmp_dcc707r/tmpznrpc8dj.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_dcc707r/tmpdnsub38q'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmp_dcc707r/tmpznrpc8dj.h 530s # basename: tmpznrpc8dj.h 530s # enumeration-production 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-header 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-production 530s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 530s # valuenick: user 530s # valuenum: 4 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-tail 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 530s # tmpdir: /tmp/tmp01e0ka62 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmp01e0ka62/tmpyios0aay.h: 530s # typedef enum { 530s # 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) 530s # } GDBusServerFlags; 530s # 530s # /tmp/tmp01e0ka62/tmp14h1gvy3.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmp01e0ka62/tmp14h1gvy3.template /tmp/tmp01e0ka62/tmpyios0aay.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp01e0ka62/tmpysp7ly4c'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmp01e0ka62/tmpyios0aay.h 530s # basename: tmpyios0aay.h 530s # enumeration-production 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-header 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-production 530s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 530s # valuenick: user 530s # valuenum: 4 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # value-tail 530s # EnumName: GDBusServerFlags 530s # enum_name: g_dbus_server_flags 530s # ENUMNAME: G_DBUS_SERVER_FLAGS 530s # ENUMSHORT: DBUS_SERVER_FLAGS 530s # ENUMPREFIX: G 530s # enumsince: 530s # type: flags 530s # Type: Flags 530s # TYPE: FLAGS 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 23 __main__.TestRspMkenums.test_empty_header 530s # tmpdir: /tmp/tmpk94_hgtn 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpk94_hgtn/tmpcz93cnmq.h: 530s # /tmp/tmpk94_hgtn/tmpnydxl_wy.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpk94_hgtn/tmpnydxl_wy.template /tmp/tmpk94_hgtn/tmpcz93cnmq.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk94_hgtn/tmpwb93pblb'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 24 __main__.TestRspMkenums.test_empty_template 530s # tmpdir: /tmp/tmpr0dhx3d0 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpr0dhx3d0/tmpbxfey__o.template: 530s # Response file contains: --template /tmp/tmpr0dhx3d0/tmpbxfey__o.template 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr0dhx3d0/tmpgqmjiv_3'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # 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. */ 530s # 530s # 530s # /* Generated data ends here */ 530s ok 25 __main__.TestRspMkenums.test_enum_name 530s # tmpdir: /tmp/tmpm8zljwzh 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpm8zljwzh/tmp4uq61b6_.h: 530s # typedef enum _SomeEnumIdentifier { 530s # ENUM_VALUE 530s # } SomeEnumIdentifier; 530s # 530s # /tmp/tmpm8zljwzh/tmpx8wxq6c1.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpm8zljwzh/tmpx8wxq6c1.template /tmp/tmpm8zljwzh/tmp4uq61b6_.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm8zljwzh/tmppq6zhhs3'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpm8zljwzh/tmp4uq61b6_.h 530s # basename: tmp4uq61b6_.h 530s # enumeration-production 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE 530s # valuenick: value 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 26 __main__.TestRspMkenums.test_enum_private_public 530s # tmpdir: /tmp/tmpibiyrsw1 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpibiyrsw1/tmptyu7asud.h: 530s # typedef enum { 530s # ENUM_VALUE_PUBLIC1, 530s # /*< private >*/ 530s # ENUM_VALUE_PRIVATE, 530s # } SomeEnumA 530s # 530s # /tmp/tmpibiyrsw1/tmpanpjvd56.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpibiyrsw1/tmpanpjvd56.template /tmp/tmpibiyrsw1/tmptyu7asud.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpibiyrsw1/tmpdc9i9rtw'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpibiyrsw1/tmptyu7asud.h 530s # basename: tmptyu7asud.h 530s # enumeration-production 530s # EnumName: SomeEnumA 530s # enum_name: some_enum_a 530s # ENUMNAME: SOME_ENUM_A 530s # ENUMSHORT: ENUM_A 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: SomeEnumA 530s # enum_name: some_enum_a 530s # ENUMNAME: SOME_ENUM_A 530s # ENUMSHORT: ENUM_A 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE_PUBLIC1 530s # valuenick: public1 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: SomeEnumA 530s # enum_name: some_enum_a 530s # ENUMNAME: SOME_ENUM_A 530s # ENUMSHORT: ENUM_A 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s # /tmp/tmpibiyrsw1/tmpf9j46a0y.h: 530s # typedef enum { 530s # /*< private >*/ 530s # ENUM_VALUE_PRIVATE, 530s # /*< public >*/ 530s # ENUM_VALUE_PUBLIC2, 530s # } SomeEnumB; 530s # 530s # /tmp/tmpibiyrsw1/tmphjr_fwyu.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpibiyrsw1/tmphjr_fwyu.template /tmp/tmpibiyrsw1/tmpf9j46a0y.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpibiyrsw1/tmpz3k_jd1n'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpibiyrsw1/tmpf9j46a0y.h 530s # basename: tmpf9j46a0y.h 530s # enumeration-production 530s # EnumName: SomeEnumB 530s # enum_name: some_enum_b 530s # ENUMNAME: SOME_ENUM_B 530s # ENUMSHORT: ENUM_B 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: SomeEnumB 530s # enum_name: some_enum_b 530s # ENUMNAME: SOME_ENUM_B 530s # ENUMSHORT: ENUM_B 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE_PUBLIC2 530s # valuenick: public2 530s # valuenum: 1 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: SomeEnumB 530s # enum_name: some_enum_b 530s # ENUMNAME: SOME_ENUM_B 530s # ENUMSHORT: ENUM_B 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 530s # tmpdir: /tmp/tmph4laomgn 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmph4laomgn/tmpxp0t4a5n.h: 530s # typedef enum { 530s # /*< private >*/ 530s # ENUM_VALUE_PRIVATE = 5, 530s # /*< public >*/ 530s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 530s # } TestSymbolicEnum; 530s # 530s # /tmp/tmph4laomgn/tmpft23hpel.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmph4laomgn/tmpft23hpel.template /tmp/tmph4laomgn/tmpxp0t4a5n.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph4laomgn/tmpgl6nhnmf'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmph4laomgn/tmpxp0t4a5n.h 530s # basename: tmpxp0t4a5n.h 530s # enumeration-production 530s # EnumName: TestSymbolicEnum 530s # enum_name: test_symbolic_enum 530s # ENUMNAME: TEST_SYMBOLIC_ENUM 530s # ENUMSHORT: SYMBOLIC_ENUM 530s # ENUMPREFIX: TEST 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: TestSymbolicEnum 530s # enum_name: test_symbolic_enum 530s # ENUMNAME: TEST_SYMBOLIC_ENUM 530s # ENUMSHORT: SYMBOLIC_ENUM 530s # ENUMPREFIX: TEST 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE_PUBLIC 530s # valuenick: public 530s # valuenum: 7 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: TestSymbolicEnum 530s # enum_name: test_symbolic_enum 530s # ENUMNAME: TEST_SYMBOLIC_ENUM 530s # ENUMSHORT: SYMBOLIC_ENUM 530s # ENUMPREFIX: TEST 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 530s # tmpdir: /tmp/tmpid1qcjuq 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpid1qcjuq/tmpgxd3n5sh.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-tail ***/ 530s # Response file contains: --template /tmp/tmpid1qcjuq/tmpgxd3n5sh.template 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpid1qcjuq/tmp71f19xan'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # filename: @filename@ 530s # basename: @basename@ 530s # file-tail 530s # filename: @filename@ 530s # basename: @basename@ 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 29 __main__.TestRspMkenums.test_help 530s # tmpdir: /tmp/tmp6ecc8zly 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # Response file contains: --help 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6ecc8zly/tmpy309prp4'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 530s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 530s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 530s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 530s # [--comments COMMENT_TMPL] [--template TEMPLATE] 530s # [--output OUTPUT] [--version] 530s # [args ...] 530s # 530s # positional arguments: 530s # args One or more input files, or a single argument 530s # @rspfile_path pointing to a file that contains the 530s # actual arguments 530s # 530s # options: 530s # -h, --help show this help message and exit 530s # --identifier-prefix IDPREFIX 530s # Identifier prefix 530s # --symbol-prefix SYMPREFIX 530s # Symbol prefix 530s # --fhead FHEAD Output file header 530s # --ftail FTAIL Output file footer 530s # --fprod FPROD Put out TEXT every time a new input file is being 530s # processed. 530s # --eprod EPROD Per enum text, produced prior to value iterations 530s # --vhead VHEAD Value header, produced before iterating over enum 530s # values 530s # --vprod VPROD Value text, produced for each enum value. 530s # --vtail VTAIL Value tail, produced after iterating over enum values 530s # --comments COMMENT_TMPL 530s # Comment structure 530s # --template TEMPLATE Template file 530s # --output OUTPUT 530s # --version, -v Print version information 530s # 530s # Production text substitutions: 530s # @EnumName@ PrefixTheXEnum 530s # @enum_name@ prefix_the_xenum 530s # @ENUMNAME@ PREFIX_THE_XENUM 530s # @ENUMSHORT@ THE_XENUM 530s # @ENUMPREFIX@ PREFIX 530s # @enumsince@ the user-provided since value given 530s # @VALUENAME@ PREFIX_THE_XVALUE 530s # @valuenick@ the-xvalue 530s # @valuenum@ the integer value (limited support, Since: 2.26) 530s # @type@ either enum or flags 530s # @Type@ either Enum or Flags 530s # @TYPE@ either ENUM or FLAGS 530s # @filename@ name of current input file 530s # @basename@ base name of the current input file (Since: 2.22) 530s ok 30 __main__.TestRspMkenums.test_no_args 530s # tmpdir: /tmp/tmpyclor7h7 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # Response file contains: 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyclor7h7/tmptmcmxbm5'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # 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. */ 530s # 530s # 530s # /* Generated data ends here */ 530s ok 31 __main__.TestRspMkenums.test_no_headers 530s # tmpdir: /tmp/tmp71mqooaz 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmp71mqooaz/tmpnw5fazle.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmp71mqooaz/tmpnw5fazle.template 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp71mqooaz/tmpuleumk4z'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 32 __main__.TestRspMkenums.test_no_nick 530s # tmpdir: /tmp/tmp0oq89v2y 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmp0oq89v2y/tmp8x325jap.h: 530s # typedef enum { 530s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 530s # } GeglSamplerType; 530s # 530s # /tmp/tmp0oq89v2y/tmpw_t9cyt5.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmp0oq89v2y/tmpw_t9cyt5.template /tmp/tmp0oq89v2y/tmp8x325jap.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0oq89v2y/tmpjt8bgrcy'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmp0oq89v2y/tmp8x325jap.h 530s # basename: tmp8x325jap.h 530s # enumeration-production 530s # EnumName: GeglSamplerType 530s # enum_name: gegl_sampler_type 530s # ENUMNAME: GEGL_SAMPLER_TYPE 530s # ENUMSHORT: SAMPLER_TYPE 530s # ENUMPREFIX: GEGL 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: GeglSamplerType 530s # enum_name: gegl_sampler_type 530s # ENUMNAME: GEGL_SAMPLER_TYPE 530s # ENUMSHORT: SAMPLER_TYPE 530s # ENUMPREFIX: GEGL 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: GEGL_SAMPLER_NEAREST 530s # valuenick: nearest 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: GeglSamplerType 530s # enum_name: gegl_sampler_type 530s # ENUMNAME: GEGL_SAMPLER_TYPE 530s # ENUMSHORT: SAMPLER_TYPE 530s # ENUMPREFIX: GEGL 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 530s # tmpdir: /tmp/tmptnsv7txi 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmptnsv7txi/tmpn578ht1i.h: 530s # /* Copyright © La Peña */ 530s # typedef enum { 530s # ENUM_VALUE 530s # } SomeEnumIdentifier; 530s # 530s # /tmp/tmptnsv7txi/tmprjjqbvyl.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmptnsv7txi/tmprjjqbvyl.template /tmp/tmptnsv7txi/tmpn578ht1i.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptnsv7txi/tmpe5egff5h'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmptnsv7txi/tmpn578ht1i.h 530s # basename: tmpn578ht1i.h 530s # enumeration-production 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: ENUM_VALUE 530s # valuenick: value 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: SomeEnumIdentifier 530s # enum_name: some_enum_identifier 530s # ENUMNAME: SOME_ENUM_IDENTIFIER 530s # ENUMSHORT: ENUM_IDENTIFIER 530s # ENUMPREFIX: SOME 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 34 __main__.TestRspMkenums.test_reproducible 530s # tmpdir: /tmp/tmpsoh3ncu_ 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpsoh3ncu_/tmpdhcg1qo7.template: template 530s # Response file contains: --template /tmp/tmpsoh3ncu_/tmpdhcg1qo7.template /tmp/tmpsoh3ncu_/tmpsqx8akze1.h /tmp/tmpsoh3ncu_/tmp2or905qy2.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsoh3ncu_/tmps7njadqu'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # 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. */ 530s # 530s # 530s # /* Generated data ends here */ 530s # /tmp/tmpsoh3ncu_/tmp3hvz0d5z.template: template 530s # Response file contains: --template /tmp/tmpsoh3ncu_/tmp3hvz0d5z.template /tmp/tmpsoh3ncu_/tmp2or905qy2.h /tmp/tmpsoh3ncu_/tmpsqx8akze1.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsoh3ncu_/tmp2oob6bbj'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # 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. */ 530s # 530s # 530s # /* Generated data ends here */ 530s ok 35 __main__.TestRspMkenums.test_since 530s # tmpdir: /tmp/tmpiualop4c 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmpiualop4c/tmpn2kooclo.h: 530s # typedef enum { /*< since=1.0 >*/ 530s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 530s # } QmiWmsMessageProtocol; 530s # 530s # /tmp/tmpiualop4c/tmprplhopc1.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmpiualop4c/tmprplhopc1.template /tmp/tmpiualop4c/tmpn2kooclo.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiualop4c/tmppxxa7mqr'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmpiualop4c/tmpn2kooclo.h 530s # basename: tmpn2kooclo.h 530s # enumeration-production 530s # EnumName: QmiWmsMessageProtocol 530s # enum_name: qmi_wms_message_protocol 530s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 530s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 530s # ENUMPREFIX: QMI 530s # enumsince: 1.0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: QmiWmsMessageProtocol 530s # enum_name: qmi_wms_message_protocol 530s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 530s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 530s # ENUMPREFIX: QMI 530s # enumsince: 1.0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 530s # valuenick: cdma 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: QmiWmsMessageProtocol 530s # enum_name: qmi_wms_message_protocol 530s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 530s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 530s # ENUMPREFIX: QMI 530s # enumsince: 1.0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s ok 36 __main__.TestRspMkenums.test_with_double_quotes 530s # tmpdir: /tmp/tmp_0r0qikf 530s # rspfile: True, mkenums: /usr/bin/glib-mkenums 530s # /tmp/tmp_0r0qikf/tmpxycopwcb.h: 530s # typedef enum { 530s # FOO_VALUE /*< nick="eek, a comma" >*/ 530s # } Foo; 530s # 530s # /tmp/tmp_0r0qikf/tmpq15yuims.template: 530s # /*** BEGIN file-header ***/ 530s # file-header 530s # /*** END file-header ***/ 530s # 530s # /*** BEGIN file-production ***/ 530s # file-production 530s # filename: @filename@ 530s # basename: @basename@ 530s # /*** END file-production ***/ 530s # 530s # /*** BEGIN enumeration-production ***/ 530s # enumeration-production 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END enumeration-production ***/ 530s # 530s # /*** BEGIN value-header ***/ 530s # value-header 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-header ***/ 530s # 530s # /*** BEGIN value-production ***/ 530s # value-production 530s # VALUENAME: @VALUENAME@ 530s # valuenick: @valuenick@ 530s # valuenum: @valuenum@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-production ***/ 530s # 530s # /*** BEGIN value-tail ***/ 530s # value-tail 530s # EnumName: @EnumName@ 530s # enum_name: @enum_name@ 530s # ENUMNAME: @ENUMNAME@ 530s # ENUMSHORT: @ENUMSHORT@ 530s # ENUMPREFIX: @ENUMPREFIX@ 530s # enumsince: @enumsince@ 530s # type: @type@ 530s # Type: @Type@ 530s # TYPE: @TYPE@ 530s # /*** END value-tail ***/ 530s # 530s # /*** BEGIN comment ***/ 530s # comment 530s # comment: @comment@ 530s # /*** END comment ***/ 530s # 530s # /*** BEGIN file-tail ***/ 530s # file-tail 530s # /*** END file-tail ***/ 530s # 530s # Response file contains: --template /tmp/tmp_0r0qikf/tmpq15yuims.template /tmp/tmp_0r0qikf/tmpxycopwcb.h 530s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_0r0qikf/tmpaz7nwtm1'] 530s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 530s # Output: comment 530s # 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. 530s # 530s # 530s # file-header 530s # file-production 530s # filename: /tmp/tmp_0r0qikf/tmpxycopwcb.h 530s # basename: tmpxycopwcb.h 530s # enumeration-production 530s # EnumName: Foo 530s # enum_name: foo_ 530s # ENUMNAME: FOO_ 530s # ENUMSHORT: 530s # ENUMPREFIX: FOO 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-header 530s # EnumName: Foo 530s # enum_name: foo_ 530s # ENUMNAME: FOO_ 530s # ENUMSHORT: 530s # ENUMPREFIX: FOO 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-production 530s # VALUENAME: FOO_VALUE 530s # valuenick: eek, a comma 530s # valuenum: 0 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # value-tail 530s # EnumName: Foo 530s # enum_name: foo_ 530s # ENUMNAME: FOO_ 530s # ENUMSHORT: 530s # ENUMPREFIX: FOO 530s # enumsince: 530s # type: enum 530s # Type: Enum 530s # TYPE: ENUM 530s # file-tail 530s # 530s # comment 530s # comment: Generated data ends here 530s 1..36 530s ok - glib/mkenums.py.test 530s # Running test: glib/readwrite.test 530s TAP version 14 530s # random seed: R02S6ac1b02f9693315fb0a70c60ef48752a 530s 1..3 530s # Start of readwrite tests 530s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 530s ok 1 /readwrite/test_g_file_open_readwrite 530s ok 2 /readwrite/test_g_file_create_readwrite 530s ok 3 /readwrite/test_g_file_replace_readwrite 530s # End of readwrite tests 530s ok - glib/readwrite.test 530s # Running test: glib/basics-gobject.test 530s TAP version 14 530s # random seed: R02S7bbd6eacab0bb412765610314767d37b 530s 1..1 530s # Start of gobject tests 530s # private data during initialization: 54321 == 54321 530s # MAIN: emit test-signal: 530s # ::test_signal default_handler called 530s # ::test_signal default_handler called 530s # ::test_signal default_handler called 530s # signal return: "" 530s # MAIN: call iface print-string on test and derived object: 530s # Iface-FOO: "iface-string-from-test-type" from 0x2aa32de87a0 530s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa32de86c0 530s # chaining: 530s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa32de86c0 530s # private data after initialization: 54321 == 54321 530s ok 1 /gobject/basics 530s # End of gobject tests 530s ok - glib/basics-gobject.test 530s # Running test: glib/utils.test 530s TAP version 14 530s # random seed: R02S1e275627e9ee03591e76ad73e6398bb3 530s 1..40 530s # Start of utils tests 530s ok 1 /utils/language-names 530s ok 2 /utils/locale-variants 530s ok 3 /utils/version 530s ok 4 /utils/appname 530s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 530s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 530s ok 5 /utils/prgname-thread-safety 530s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 530s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 530s ok 6 /utils/tmpdir 530s ok 7 /utils/basic_bits 530s ok 8 /utils/bits 530s ok 9 /utils/swap 530s ok 10 /utils/find-program 530s ok 11 /utils/find-program-for-path 530s ok 12 /utils/debug 530s ok 13 /utils/codeset 530s ok 14 /utils/codeset2 530s ok 15 /utils/console-charset 530s ok 16 /utils/gettext 530s ok 17 /utils/username 530s ok 18 /utils/realname 530s ok 19 /utils/hostname 530s ok 20 /utils/xdgdirs 530s ok 21 /utils/specialdir 530s # NAME: Ubuntu 530s ok 22 /utils/os-info 530s ok 23 /utils/clear-pointer 530s ok 24 /utils/clear-pointer-cast 530s ok 25 /utils/take-pointer 530s ok 26 /utils/clear-source 530s ok 27 /utils/misc-mem 530s # /utils/aligned-mem summary: Aligned memory allocator 530s # Alignment must not be zero 530s # Alignment must be a power of two 530s # Alignment must be a multiple of sizeof(void*) 530s ok 28 /utils/aligned-mem 530s # /utils/free-sized summary: Check that g_free_sized() works 530s ok 29 /utils/free-sized 530s ok 30 /utils/nullify 530s ok 31 /utils/atexit 530s ok 32 /utils/check-setuid 530s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 530s ok 33 /utils/int-limits 530s ok 34 /utils/clear-list 530s ok 35 /utils/clear-slist 530s # Start of specialdir tests 530s ok 36 /utils/specialdir/desktop 530s # End of specialdir tests 530s # Start of clear-pointer tests 530s ok 37 /utils/clear-pointer/side-effects 530s # End of clear-pointer tests 530s # Start of aligned-mem tests 530s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 530s ok 38 /utils/aligned-mem/alignment 530s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 530s ok 39 /utils/aligned-mem/zeroed 530s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 530s ok 40 /utils/aligned-mem/free-sized 530s # Start of subprocess tests 530s # End of subprocess tests 530s # End of aligned-mem tests 530s # End of utils tests 530s ok - glib/utils.test 530s # Running test: glib/converter.test 530s TAP version 14 530s # random seed: R02Sa1f3dd0d3979ffae280c2c15d807d97e 530s 1..1 530s # Start of converter tests 530s ok 1 /converter/bytes 530s # End of converter tests 530s ok - glib/converter.test 530s # Running test: glib/socket-service.test 530s TAP version 14 530s # random seed: R02Sc5984a62e489d4f6f1f2a8329bc2255d 530s 1..4 530s # Start of socket-service tests 530s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 530s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1646f370 and GSocketClientAsyncConnectData 0x2aa16467620 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s ok 1 /socket-service/start-stop 530s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16470ed0 and GSocketClientAsyncConnectData 0x2aa16470c70 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 530s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa164713e0 for GSocketClientAsyncConnectData 0x2aa16467620 530s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 530s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 530s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 530s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 530s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 530s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16472260 for GSocketClientAsyncConnectData 0x2aa16470c70 530s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 530s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 530s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 530s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 530s ok 2 /socket-service/read_write_async 530s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16474fb0 and GSocketClientAsyncConnectData 0x2aa164729d0 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 530s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16473190 for GSocketClientAsyncConnectData 0x2aa164729d0 530s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 530s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 530s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 530s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 530s ok 3 /socket-service/read_writev_async 530s # Start of threaded tests 530s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 530s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa16476710 and GSocketClientAsyncConnectData 0x2aa16472d50 530s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 530s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 530s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa16476940 for GSocketClientAsyncConnectData 0x2aa16472d50 530s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 530s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 530s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 530s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 530s ok 4 /socket-service/threaded/712570 530s # End of threaded tests 530s # End of socket-service tests 530s ok - glib/socket-service.test 530s # Running test: glib/utils-c-11.test 530s TAP version 14 530s # random seed: R02S7930d62a07985f8f5aa9b6a1e7f8bc09 530s 1..40 530s # Start of utils tests 530s ok 1 /utils/language-names 530s ok 2 /utils/locale-variants 530s ok 3 /utils/version 530s ok 4 /utils/appname 530s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 530s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 530s ok 5 /utils/prgname-thread-safety 530s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 530s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 530s ok 6 /utils/tmpdir 530s ok 7 /utils/basic_bits 530s ok 8 /utils/bits 530s ok 9 /utils/swap 530s ok 10 /utils/find-program 530s ok 11 /utils/find-program-for-path 530s ok 12 /utils/debug 530s ok 13 /utils/codeset 530s ok 14 /utils/codeset2 530s ok 15 /utils/console-charset 530s ok 16 /utils/gettext 530s ok 17 /utils/username 530s ok 18 /utils/realname 530s ok 19 /utils/hostname 530s ok 20 /utils/xdgdirs 530s ok 21 /utils/specialdir 530s # NAME: Ubuntu 530s ok 22 /utils/os-info 530s ok 23 /utils/clear-pointer 530s ok 24 /utils/clear-pointer-cast 530s ok 25 /utils/take-pointer 530s ok 26 /utils/clear-source 530s ok 27 /utils/misc-mem 530s # /utils/aligned-mem summary: Aligned memory allocator 530s # Alignment must not be zero 530s # Alignment must be a power of two 530s # Alignment must be a multiple of sizeof(void*) 530s ok 28 /utils/aligned-mem 530s # /utils/free-sized summary: Check that g_free_sized() works 530s ok 29 /utils/free-sized 530s ok 30 /utils/nullify 530s ok 31 /utils/atexit 530s ok 32 /utils/check-setuid 530s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 530s ok 33 /utils/int-limits 530s ok 34 /utils/clear-list 530s ok 35 /utils/clear-slist 530s # Start of specialdir tests 530s ok 36 /utils/specialdir/desktop 530s # End of specialdir tests 530s # Start of clear-pointer tests 530s ok 37 /utils/clear-pointer/side-effects 530s # End of clear-pointer tests 530s # Start of aligned-mem tests 530s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 530s ok 38 /utils/aligned-mem/alignment 530s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 530s ok 39 /utils/aligned-mem/zeroed 530s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 530s ok 40 /utils/aligned-mem/free-sized 530s # Start of subprocess tests 530s # End of subprocess tests 530s # End of aligned-mem tests 530s # End of utils tests 530s ok - glib/utils-c-11.test 530s # Running test: glib/objects-refcount1.test 530s TAP version 14 530s # random seed: R02S472323a2d7c4eb6c5237d8103f0520f4 530s 1..1 530s # Start of gobject tests 530s # Start of refcount tests 530s # init 0x2aa2d499740 530s # 530s # init 0x2aa2d4998c0 530s # 531s # Executing: glib/objects-refcount1.test 535s # dispose 0x2aa2d499740! 535s # 535s # dispose 0x2aa2d4998c0! 535s # 535s ok 1 /gobject/refcount/object-basics 535s # slow test /gobject/refcount/object-basics executed in 5.00 secs 535s # End of refcount tests 535s # End of gobject tests 535s ok - glib/objects-refcount1.test 535s # Running test: glib/sequence.test 535s TAP version 14 535s # random seed: R02S08689d43573dce92dd46557e9a197b67 535s 1..16 535s # Start of sequence tests 535s ok 1 /sequence/out-of-range-jump 535s ok 2 /sequence/iter-move 535s ok 3 /sequence/insert-sorted-non-pointer 536s ok 4 /sequence/stable-sort 536s ok 5 /sequence/is_empty 536s # Start of random tests 536s ok 6 /sequence/random/seed:825541564 536s # slow test /sequence/random/seed:825541564 executed in 0.66 secs 536s # Executing: glib/sequence.test 537s ok 7 /sequence/random/seed:801678400 537s # slow test /sequence/random/seed:801678400 executed in 0.62 secs 537s ok 8 /sequence/random/seed:1477639090 537s # slow test /sequence/random/seed:1477639090 executed in 0.65 secs 538s ok 9 /sequence/random/seed:3369132895 538s # slow test /sequence/random/seed:3369132895 executed in 0.60 secs 539s ok 10 /sequence/random/seed:1192944867 539s # slow test /sequence/random/seed:1192944867 executed in 0.62 secs 539s ok 11 /sequence/random/seed:770458294 539s # slow test /sequence/random/seed:770458294 executed in 0.65 secs 540s ok 12 /sequence/random/seed:1099575817 540s # slow test /sequence/random/seed:1099575817 executed in 0.62 secs 541s ok 13 /sequence/random/seed:590523467 541s # slow test /sequence/random/seed:590523467 executed in 0.65 secs 541s ok 14 /sequence/random/seed:3583571454 541s # slow test /sequence/random/seed:3583571454 executed in 0.65 secs 541s # Executing: glib/sequence.test 542s ok 15 /sequence/random/seed:579241222 542s # slow test /sequence/random/seed:579241222 executed in 0.65 secs 543s ok 16 /sequence/random/seed:752543055 543s # slow test /sequence/random/seed:752543055 executed in 0.65 secs 543s # End of random tests 543s # End of sequence tests 543s ok - glib/sequence.test 543s # Running test: glib/macros-c-99.test 543s TAP version 14 543s # random seed: R02S5b9fdd5d86d8a67efe98c327e70ee3aa 543s 1..4 543s # Start of C tests 543s ok 1 /C/standard-99 543s # End of C tests 543s # Start of alignof tests 543s ok 2 /alignof/fallback 543s # End of alignof tests 543s # Start of assert tests 543s ok 3 /assert/static 543s # End of assert tests 543s # Start of struct tests 543s ok 4 /struct/sizeof_member 543s # End of struct tests 543s ok - glib/macros-c-99.test 543s # Running test: glib/bytes.test 543s TAP version 14 543s # random seed: R02S39ee7aa7ee4b8cabc041b0fcc49f8188 543s 1..21 543s # Start of bytes tests 543s ok 1 /bytes/new 543s ok 2 /bytes/new-take 543s ok 3 /bytes/new-static 543s ok 4 /bytes/new-with-free-func 543s ok 5 /bytes/new-from-bytes 543s ok 6 /bytes/new-from-bytes-slice 543s ok 7 /bytes/new-from-bytes-shared-ref 543s ok 8 /bytes/hash 543s ok 9 /bytes/equal 543s ok 10 /bytes/compare 543s ok 11 /bytes/null 543s ok 12 /bytes/get-region 543s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 543s ok 13 /bytes/unref-null 543s # Start of to-data tests 543s ok 14 /bytes/to-data/transferred 543s ok 15 /bytes/to-data/two-refs 543s ok 16 /bytes/to-data/non-malloc 543s ok 17 /bytes/to-data/different-free-func 543s # End of to-data tests 543s # Start of to-array tests 543s ok 18 /bytes/to-array/transferred 543s ok 19 /bytes/to-array/two-refs 543s ok 20 /bytes/to-array/non-malloc 543s # Start of transferred tests 543s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 543s ok 21 /bytes/to-array/transferred/oversize 543s # End of transferred tests 543s # End of to-array tests 543s # End of bytes tests 543s ok - glib/bytes.test 543s # Running test: glib/hmac.test 543s TAP version 14 543s # random seed: R02S5e880cc22353ada8df5af23e5d57a5d9 543s 1..37 543s # Start of hmac tests 543s ok 1 /hmac/sha1-1 543s ok 2 /hmac/sha1-2 543s ok 3 /hmac/sha1-3 543s ok 4 /hmac/sha1-4 543s ok 5 /hmac/sha1-5 543s ok 6 /hmac/sha1-6 543s ok 7 /hmac/sha1-7 543s ok 8 /hmac/sha256-1 543s ok 9 /hmac/sha256-2 543s ok 10 /hmac/sha256-3 543s ok 11 /hmac/sha256-4 543s ok 12 /hmac/sha256-5 543s ok 13 /hmac/sha256-6 543s ok 14 /hmac/sha384-1 543s ok 15 /hmac/sha384-2 543s ok 16 /hmac/sha384-3 543s ok 17 /hmac/sha384-4 543s ok 18 /hmac/sha384-5 543s ok 19 /hmac/sha384-6 543s ok 20 /hmac/sha512-1 543s ok 21 /hmac/sha512-2 543s ok 22 /hmac/sha512-3 543s ok 23 /hmac/sha512-4 543s ok 24 /hmac/sha512-5 543s ok 25 /hmac/sha512-6 543s ok 26 /hmac/md5-1 543s ok 27 /hmac/md5-2 543s ok 28 /hmac/md5-3 543s ok 29 /hmac/md5-4 543s ok 30 /hmac/md5-5 543s ok 31 /hmac/md5-6 543s ok 32 /hmac/md5-7 543s ok 33 /hmac/ref-unref 543s ok 34 /hmac/copy 543s ok 35 /hmac/for-data 543s ok 36 /hmac/for-string 543s ok 37 /hmac/for-bytes 543s # End of hmac tests 543s ok - glib/hmac.test 543s # Running test: glib/strvbuilder.test 543s TAP version 14 543s # random seed: R02S82573ad6f3397431bf5ea5eb63a1d856 543s 1..7 543s # Start of strvbuilder tests 543s ok 1 /strvbuilder/empty 543s ok 2 /strvbuilder/add 543s ok 3 /strvbuilder/addv 543s ok 4 /strvbuilder/add_many 543s ok 5 /strvbuilder/take 543s ok 6 /strvbuilder/ref 543s ok 7 /strvbuilder/unref_to_strv 543s # End of strvbuilder tests 543s ok - glib/strvbuilder.test 543s # Running test: glib/gdbus-serialization.test 543s TAP version 14 543s # random seed: R02S621db4859e20a3e895a58f8b05d577a5 543s 1..18 543s # Start of gdbus tests 543s # Start of message-serialize tests 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/basic/.dirs/runtime 543s ok 1 /gdbus/message-serialize/basic 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/complex/.dirs/runtime 543s ok 2 /gdbus/message-serialize/complex 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/invalid/.dirs/runtime 543s ok 3 /gdbus/message-serialize/invalid 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/.dirs/runtime 543s ok 4 /gdbus/message-serialize/header-checks 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/double-array/.dirs/runtime 543s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 543s ok 5 /gdbus/message-serialize/double-array 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/empty-structure/.dirs/runtime 543s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 543s ok 6 /gdbus/message-serialize/empty-structure 543s # Start of header-checks tests 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 543s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 543s ok 7 /gdbus/message-serialize/header-checks/valid 543s # End of header-checks tests 543s # End of message-serialize tests 543s # Start of message-parse tests 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 543s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 543s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/non-signature-header/.dirs/runtime 543s ok 9 /gdbus/message-parse/non-signature-header 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-signature-header/.dirs/runtime 543s ok 10 /gdbus/message-parse/empty-signature-header 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 543s ok 11 /gdbus/message-parse/multiple-signature-header 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 543s ok 12 /gdbus/message-parse/over-long-signature-header 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 543s ok 13 /gdbus/message-parse/deep-header-nesting 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 543s ok 14 /gdbus/message-parse/deep-body-nesting 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/truncated/.dirs/runtime 543s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 543s ok 15 /gdbus/message-parse/truncated 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/empty-structure/.dirs/runtime 543s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 543s ok 16 /gdbus/message-parse/empty-structure 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/missing-header/.dirs/runtime 543s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 543s ok 17 /gdbus/message-parse/missing-header 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_HGK7X2/gdbus/message-parse/invalid-header-type/.dirs/runtime 543s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 543s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 543s ok 18 /gdbus/message-parse/invalid-header-type 543s # End of message-parse tests 543s # End of gdbus tests 543s ok - glib/gdbus-serialization.test 543s # Running test: glib/gdbus-peer.test 543s TAP version 14 543s # random seed: R02S32b0ccfabe772b01b06706bf8ddcd9f5 543s 1..12 543s # Start of gdbus tests 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/.dirs/runtime 543s # Testing with unix:dir address 543s # Testing with unix:tmpdir address 543s # Testing with unix:path address 543s ok 1 /gdbus/peer-to-peer 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/delayed-message-processing/.dirs/runtime 543s # Testing with unix:dir address 543s ok 2 /gdbus/delayed-message-processing 543s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/nonce-tcp/.dirs/runtime 543s ok 3 /gdbus/nonce-tcp 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/tcp-anonymous/.dirs/runtime 543s ok 4 /gdbus/tcp-anonymous 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/credentials/.dirs/runtime 543s ok 5 /gdbus/credentials 543s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/home 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/cache 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/system-config2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/config 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/system-data2 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/data 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/state 543s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/codegen-peer-to-peer/.dirs/runtime 543s # Testing with unix:dir address 543s # Machine ID: ce866f5ae1454b4892b65b418ad760c3 544s ok 6 /gdbus/codegen-peer-to-peer 544s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 544s # Start of peer-to-peer tests 544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/home 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/cache 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/system-config2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/config 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/system-data2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/data 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/state 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/signals/.dirs/runtime 544s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 544s # Testing with unix:dir address 544s ok 7 /gdbus/peer-to-peer/signals 544s # Start of invalid tests 544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/home 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/cache 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/config 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/data 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/state 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 544s ok 8 /gdbus/peer-to-peer/invalid/server 544s # Start of conn tests 544s # Start of stream tests 544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 544s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 544s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 544s # End of stream tests 544s # Start of addr tests 544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 544s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 544s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 544s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_WUG7X2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 544s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 544s # End of addr tests 544s # End of conn tests 544s # End of invalid tests 544s # End of peer-to-peer tests 544s # End of gdbus tests 544s ok - glib/gdbus-peer.test 544s # Running test: glib/module-test-library.test 544s TAP version 14 544s # random seed: R02Seee19549319f5b640e003b5cbe60c73d 544s 1..3 544s # Start of module tests 544s ok 1 /module/basics 544s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 544s ok 2 /module/invalid-libtool-archive 544s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 544s ok 3 /module/local-binding 544s # End of module tests 544s ok - glib/module-test-library.test 544s # Running test: glib/signals.test 544s TAP version 14 544s # random seed: R02S1b2c3b596f99aac6d081b2669b100420 544s 1..31 544s # Start of gobject tests 544s # Start of signals tests 544s ok 1 /gobject/signals/all-types 544s ok 2 /gobject/signals/variant 544s ok 3 /gobject/signals/destroy-target-object 544s ok 4 /gobject/signals/generic-marshaller-1 544s ok 5 /gobject/signals/generic-marshaller-2 544s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 544s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 544s ok 8 /gobject/signals/generic-marshaller-int-return 544s ok 9 /gobject/signals/generic-marshaller-uint-return 544s ok 10 /gobject/signals/generic-marshaller-interface-return 544s ok 11 /gobject/signals/custom-marshaller 544s ok 12 /gobject/signals/connect 544s ok 13 /gobject/signals/emission-hook 544s ok 14 /gobject/signals/emitv 544s ok 15 /gobject/signals/accumulator 544s # Signal: accumulator-class-first 544s # Signal: accumulator-class-last 544s # Signal: accumulator-class-cleanup 544s # Signal: accumulator-class-first-last 544s # Signal: accumulator-class-first-last-cleanup 544s # Signal: accumulator-class-last-cleanup 544s ok 16 /gobject/signals/accumulator-class 544s ok 17 /gobject/signals/introspection 544s ok 18 /gobject/signals/block-handler 544s ok 19 /gobject/signals/stop-emission 544s ok 20 /gobject/signals/invocation-hint 544s ok 21 /gobject/signals/test-disconnection-wrong-object 544s ok 22 /gobject/signals/clear-signal-handler 544s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 544s ok 23 /gobject/signals/lookup 544s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 544s ok 24 /gobject/signals/parse-name 544s ok 25 /gobject/signals/is-valid-name 544s ok 26 /gobject/signals/weak-ref-disconnect 544s # Start of lookup tests 544s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 544s ok 27 /gobject/signals/lookup/invalid 544s # End of lookup tests 544s # Start of parse-name tests 544s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 544s # Parser input: 544s # Parser input: 7zip 544s # Parser input: invalid:signal 544s # Parser input: simple-detailed:: 544s # Parser input: simple-detailed: 544s # Parser input: : 544s # Parser input: :: 544s # Parser input: :valid-detail 544s # Parser input: ::valid-detail 544s ok 28 /gobject/signals/parse-name/invalid 544s # End of parse-name tests 544s # Start of invalid-name tests 544s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 544s ok 29 /gobject/signals/invalid-name/colon 544s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 544s ok 30 /gobject/signals/invalid-name/first-char 544s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 544s ok 31 /gobject/signals/invalid-name/empty 544s # End of invalid-name tests 544s # End of signals tests 544s # End of gobject tests 544s ok - glib/signals.test 544s # Running test: glib/cond.test 544s TAP version 14 544s # random seed: R02S0780a1f86ac13ab26023c3ba93653112 544s 1..4 544s # Start of thread tests 544s ok 1 /thread/cond1 544s ok 2 /thread/cond2 544s # Start of cond tests 545s ok 3 /thread/cond/wait-until 545s # slow test /thread/cond/wait-until executed in 1.02 secs 545s # Start of wait-until tests 545s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 545s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 546s # Executing: glib/cond.test 546s ok 4 /thread/cond/wait-until/contended-and-interrupted 546s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 546s # End of wait-until tests 546s # End of cond tests 546s # End of thread tests 546s ok - glib/cond.test 546s # Running test: glib/thread-pool-slow.test 546s TAP version 14 546s # random seed: R02Sbd3db19f7411bf42413bd1a1ef5acbaf 546s 1..7 546s # Start of threadpool tests 546s ok 1 /threadpool/functions 547s ok 2 /threadpool/stop-unused 547s # slow test /threadpool/stop-unused executed in 0.51 secs 547s ok 3 /threadpool/pools 547s # [unsorted] ===> pushed new thread with id:15, number of threads:1, unprocessed:1 547s # [unsorted] ===> pushed new thread with id:41, number of threads:2, unprocessed:2 547s # [unsorted] ===> pushed new thread with id:50, number of threads:3, unprocessed:2 547s # [unsorted] ===> pushed new thread with id:74, number of threads:4, unprocessed:2 547s # [unsorted] ===> pushed new thread with id:38, number of threads:5, unprocessed:2 547s # [unsorted] ===> pushed new thread with id:99, number of threads:6, unprocessed:3 547s # [unsorted] ===> pushed new thread with id:40, number of threads:7, unprocessed:3 547s # [unsorted] ===> pushed new thread with id:23, number of threads:8, unprocessed:3 547s # [unsorted] ===> pushed new thread with id:74, number of threads:9, unprocessed:3 547s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:3 547s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:2 547s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:3 547s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:4 547s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:5 547s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:6 547s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:7 547s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:8 547s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:9 547s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:10 547s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:11 547s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:12 547s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:13 547s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:14 547s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:15 547s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:16 547s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:17 547s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:18 547s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:19 547s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:20 547s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:21 547s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:22 547s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:23 547s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:24 547s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:25 547s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:26 547s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:27 547s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:28 547s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:29 547s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:30 547s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:31 547s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:32 547s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:33 547s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:34 547s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:35 547s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:36 547s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:37 547s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:38 547s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:39 547s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:40 547s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:41 547s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:42 547s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:43 547s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:44 547s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:45 547s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:46 547s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:46 547s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:47 547s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:48 547s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:49 547s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:50 547s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:51 547s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:52 547s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:53 547s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:54 547s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:55 547s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:56 547s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:57 547s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:58 547s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:59 547s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:60 547s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:61 547s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:62 547s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:63 547s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:64 547s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:65 547s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:66 547s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:67 547s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:68 547s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:69 547s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:70 547s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:71 547s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:72 547s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:73 547s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:74 547s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:75 547s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:76 547s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:77 547s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:78 547s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:79 547s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:80 547s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:81 547s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:82 547s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:83 547s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:84 547s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:85 547s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:86 547s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:87 547s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:88 547s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:89 547s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:90 547s ok 4 /threadpool/no-sort 547s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:1 547s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:2 547s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:3 547s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:4 547s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:5 547s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:6 547s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:7 547s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:8 547s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:9 547s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:10 547s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:11 547s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:12 547s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:13 547s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:14 547s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:15 547s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:16 547s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:17 547s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:18 547s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:19 547s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:20 547s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:21 547s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:22 547s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:23 547s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:24 547s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:25 547s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:26 547s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:27 547s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:28 547s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:29 547s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:30 547s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:31 547s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:32 547s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:33 547s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:34 547s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:35 547s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:36 547s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:37 547s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:38 547s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:39 547s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:40 547s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:41 547s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:42 547s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:43 547s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:44 547s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:45 547s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:46 547s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:47 547s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:48 547s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:49 547s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:50 547s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:51 547s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:52 547s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:53 547s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:54 547s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:55 547s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:56 547s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:57 547s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:58 547s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:59 547s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:60 547s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:61 547s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:62 547s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:63 547s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:64 547s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:65 547s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:66 547s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:67 547s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:68 547s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:69 547s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:70 547s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:71 547s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:72 547s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:73 547s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:74 547s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:75 547s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:76 547s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:77 547s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:78 547s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:79 547s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:80 547s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:81 547s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:82 547s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:83 547s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:84 547s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:85 547s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:86 547s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:87 547s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:88 547s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:89 547s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:90 547s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:91 547s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:92 547s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:93 547s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:94 547s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:95 547s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:96 547s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:97 547s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:98 547s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:99 547s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:100 547s # Starting thread pool processing 547s ok 5 /threadpool/sort 548s ok 6 /threadpool/stop-unused-multiple 548s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 548s # Pool idle thread count: 0, unprocessed jobs: 40 548s # Pool idle thread count: 0, unprocessed jobs: 0 548s # Pool idle thread count: 0, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 549s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 550s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Pool idle thread count: 10, unprocessed jobs: 0 551s # Executing: glib/thread-pool-slow.test 552s # Pool idle thread count: 10, unprocessed jobs: 0 552s # Pool idle thread count: 10, unprocessed jobs: 0 552s # Pool idle thread count: 10, unprocessed jobs: 0 552s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 553s # Pool idle thread count: 10, unprocessed jobs: 0 554s # Pool idle thread count: 10, unprocessed jobs: 0 554s # Pool idle thread count: 10, unprocessed jobs: 0 554s # Pool idle thread count: 10, unprocessed jobs: 0 554s # Pool idle thread count: 10, unprocessed jobs: 0 555s # Pool idle thread count: 10, unprocessed jobs: 0 555s # Pool idle thread count: 10, unprocessed jobs: 0 555s # Pool idle thread count: 10, unprocessed jobs: 0 555s # Pool idle thread count: 10, unprocessed jobs: 0 556s # Pool idle thread count: 10, unprocessed jobs: 0 556s # Pool idle thread count: 10, unprocessed jobs: 0 556s # Pool idle thread count: 10, unprocessed jobs: 0 556s # Pool idle thread count: 10, unprocessed jobs: 0 556s # Executing: glib/thread-pool-slow.test 557s # Pool idle thread count: 10, unprocessed jobs: 2 557s # Pool idle thread count: 8, unprocessed jobs: 0 557s # Pool idle thread count: 8, unprocessed jobs: 0 557s # Pool idle thread count: 8, unprocessed jobs: 0 557s # Pool idle thread count: 10, unprocessed jobs: 0 557s # Pool idle thread count: 10, unprocessed jobs: 0 558s # Pool idle thread count: 10, unprocessed jobs: 0 558s # Pool idle thread count: 10, unprocessed jobs: 0 558s # Pool idle thread count: 10, unprocessed jobs: 0 558s # Pool idle thread count: 10, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 559s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 560s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Pool idle thread count: 2, unprocessed jobs: 0 561s # Executing: glib/thread-pool-slow.test 562s # Pool idle thread count: 2, unprocessed jobs: 0 562s # Pool idle thread count: 2, unprocessed jobs: 0 562s # Pool idle thread count: 2, unprocessed jobs: 0 562s # Pool idle thread count: 2, unprocessed jobs: 0 563s # Pool idle thread count: 2, unprocessed jobs: 0 563s # Pool idle thread count: 2, unprocessed jobs: 0 563s # Pool idle thread count: 2, unprocessed jobs: 0 563s # Pool idle thread count: 2, unprocessed jobs: 0 564s # Pool idle thread count: 2, unprocessed jobs: 0 564s # Pool idle thread count: 2, unprocessed jobs: 0 564s # Pool idle thread count: 2, unprocessed jobs: 0 564s # Pool idle thread count: 2, unprocessed jobs: 0 565s # Pool idle thread count: 2, unprocessed jobs: 0 565s # Pool idle thread count: 2, unprocessed jobs: 0 565s # Pool idle thread count: 2, unprocessed jobs: 0 565s # Pool idle thread count: 2, unprocessed jobs: 0 566s # Pool idle thread count: 2, unprocessed jobs: 0 566s # Pool idle thread count: 2, unprocessed jobs: 0 566s # Pool idle thread count: 2, unprocessed jobs: 0 566s # Pool idle thread count: 2, unprocessed jobs: 0 566s # Executing: glib/thread-pool-slow.test 567s # Pool idle thread count: 2, unprocessed jobs: 0 567s # Pool idle thread count: 2, unprocessed jobs: 0 567s ok 7 /threadpool/idle-time 567s # slow test /threadpool/idle-time executed in 19.52 secs 567s # End of threadpool tests 567s ok - glib/thread-pool-slow.test 567s # Running test: glib/refcount.test 567s TAP version 14 567s # random seed: R02S8066db084071537f58ddabf79d048664 567s 1..4 567s # Start of refcount tests 567s ok 1 /refcount/grefcount 567s ok 2 /refcount/gatomicrefcount 567s # Start of grefcount tests 567s ok 3 /refcount/grefcount/saturation 567s # End of grefcount tests 567s # Start of gatomicrefcount tests 567s ok 4 /refcount/gatomicrefcount/saturation 567s # End of gatomicrefcount tests 567s # End of refcount tests 567s ok - glib/refcount.test 567s # Running test: glib/power-profile-monitor-portal.test 567s TAP version 13 567s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 568s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 568s 1..2 568s ok - glib/power-profile-monitor-portal.test 568s # Running test: glib/portal-support-flatpak-none.test 568s TAP version 14 568s # random seed: R02Sadffe00b745d8cf93b2f33cb02f13fdf 568s 1..1 568s # Start of portal-support tests 568s # Start of flatpak tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/runtime 568s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_1I27X2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 568s ok 1 /portal-support/flatpak/none 568s # End of flatpak tests 568s # End of portal-support tests 568s ok - glib/portal-support-flatpak-none.test 568s # Running test: glib/gdbus-server-auth.test 568s TAP version 14 568s # random seed: R02S5fd41bbd334d2c00c7ae48164c54b500 568s 1..9 568s # Start of gdbus tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/.dirs/runtime 568s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-JRY7X2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 568s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-JRY7X2/dbus-EjFAH5wQ 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6637 568s ok 1 /gdbus/server-auth 568s # Start of server-auth tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/abstract/.dirs/runtime 568s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-E3T7X2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 568s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-E3T7X2/dbus-yKwAeTgx 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 568s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 568s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6637 568s ok 2 /gdbus/server-auth/abstract 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/tcp/.dirs/runtime 568s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 568s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/.dirs/runtime 568s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-TR26X2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 568s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-TR26X2/dbus-Qsr9jBUT 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6637 568s ok 4 /gdbus/server-auth/anonymous 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/.dirs/runtime 568s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-B385X2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 568s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-B385X2/dbus-pEEJko3a 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6637 568s ok 5 /gdbus/server-auth/external 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/.dirs/runtime 568s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-X765X2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 568s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 568s # Start of anonymous tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 568s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 568s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 568s # End of anonymous tests 568s # Start of external tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/external/require-same-user/.dirs/runtime 568s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-XX65X2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 568s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WG17X2/gdbus-server-auth-XX65X2/dbus-NMJOPh1f 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6637 568s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 568s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 568s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 568s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6637,uid=1000,gid=1000 568s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6637 568s ok 8 /gdbus/server-auth/external/require-same-user 568s # End of external tests 568s # Start of sha1 tests 568s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/home 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/cache 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/config 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/data 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/state 568s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WG17X2/gdbus/server-auth/sha1/tcp/.dirs/runtime 568s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 568s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 568s # End of sha1 tests 568s # End of server-auth tests 568s # End of gdbus tests 568s ok - glib/gdbus-server-auth.test 568s # Running test: glib/utf8-misc.test 568s TAP version 14 568s # random seed: R02S04e6fb6e953723fd7f4fd5145e43d0dd 568s 1..7 568s # Start of utf8 tests 568s ok 1 /utf8/strlen 568s ok 2 /utf8/strncpy 568s ok 3 /utf8/strrchr 568s ok 4 /utf8/reverse 568s ok 5 /utf8/substring 568s ok 6 /utf8/make-valid 568s ok 7 /utf8/truncate-middle 568s # End of utf8 tests 568s ok - glib/utf8-misc.test 568s # Running test: glib/macros-c-89.test 568s TAP version 14 568s # random seed: R02S73d964b554b921a0019efe50678e9c1d 568s 1..4 568s # Start of C tests 568s ok 1 /C/standard-89 568s # End of C tests 568s # Start of alignof tests 568s ok 2 /alignof/fallback 568s # End of alignof tests 568s # Start of assert tests 568s ok 3 /assert/static 568s # End of assert tests 568s # Start of struct tests 568s ok 4 /struct/sizeof_member 568s # End of struct tests 568s ok - glib/macros-c-89.test 568s # Running test: glib/sort.test 568s TAP version 14 568s # random seed: R02Sac0d5acf321604d8b7844527ab6e60c1 568s 1..5 568s # Start of sort tests 568s ok 1 /sort/basic 568s ok 2 /sort/zero-elements 568s ok 3 /sort/stable 568s ok 4 /sort/big 568s ok 5 /sort/deprecated 568s # End of sort tests 568s ok - glib/sort.test 568s # Running test: glib/objects-refcount2.test 568s TAP version 14 568s # random seed: R02S9971a6e97cdae21fcde5419a528acc81 568s 1..1 568s # Start of gobject tests 568s # Start of refcount tests 568s # init 0x2aa086b1740 568s # 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 568s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 569s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 570s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # . 571s # dispose 0x2aa086b1740! 571s # 571s ok 1 /gobject/refcount/object-advanced 571s # slow test /gobject/refcount/object-advanced executed in 3.21 secs 571s # End of refcount tests 571s # End of gobject tests 571s ok - glib/objects-refcount2.test 571s # Running test: glib/private.test 571s TAP version 14 571s # random seed: R02S34be299895b97ee6527a1ccce9007f9e 571s 1..8 571s # Start of thread tests 571s ok 1 /thread/private1 571s # Executing: glib/private.test 572s ok 2 /thread/private2 572s # slow test /thread/private2 executed in 1.09 secs 572s ok 3 /thread/private3 572s ok 4 /thread/staticprivate1 572s ok 5 /thread/staticprivate2 572s ok 6 /thread/staticprivate3 573s ok 7 /thread/staticprivate4 573s # slow test /thread/staticprivate4 executed in 1.09 secs 573s ok 8 /thread/staticprivate5 573s # End of thread tests 573s ok - glib/private.test 573s # Running test: glib/memory-monitor-portal.test 573s TAP version 13 573s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 573s 1..1 573s ok - glib/memory-monitor-portal.test 573s # Running test: glib/node.test 573s TAP version 14 573s # random seed: R02S756e04d5bbce860f434fee8f8482c5b8 573s 1..6 573s # Start of node tests 573s ok 1 /node/allocation 573s ok 2 /node/construction 574s ok 3 /node/traversal 574s ok 4 /node/misc 574s ok 5 /node/unlink 574s ok 6 /node/copy 574s # End of node tests 574s ok - glib/node.test 574s # Running test: glib/dir.test 574s TAP version 14 574s # random seed: R02Saeea7528f90c9f078cdd4a79fbc293da 574s 1..3 574s # Start of dir tests 574s ok 1 /dir/read 574s ok 2 /dir/nonexisting 574s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 574s ok 3 /dir/refcounting 574s # End of dir tests 574s ok - glib/dir.test 574s # Running test: glib/converter-stream.test 574s TAP version 14 574s # random seed: R02S47bbce8f925e2a0efd457c78d474004d 574s 1..17 574s # Start of converter tests 574s ok 1 /converter/basics 574s # End of converter tests 574s # Start of converter-input-stream tests 574s ok 2 /converter-input-stream/expander 574s ok 3 /converter-input-stream/compressor 574s # Start of truncation tests 574s ok 4 /converter-input-stream/truncation/zlib 574s ok 5 /converter-input-stream/truncation/gzip 574s ok 6 /converter-input-stream/truncation/raw 574s # End of truncation tests 574s # Start of charset tests 574s ok 7 /converter-input-stream/charset/utf8->latin1 574s ok 8 /converter-input-stream/charset/latin1->utf8 574s ok 9 /converter-input-stream/charset/fallbacks 574s # End of charset tests 574s # End of converter-input-stream tests 574s # Start of converter-output-stream tests 574s # Start of roundtrip tests 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 574s ok 10 /converter-output-stream/roundtrip/zlib-0 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 574s ok 11 /converter-output-stream/roundtrip/zlib-9 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 574s ok 12 /converter-output-stream/roundtrip/gzip-0 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 574s ok 13 /converter-output-stream/roundtrip/gzip-9 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 574s ok 14 /converter-output-stream/roundtrip/raw-0 574s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 574s ok 15 /converter-output-stream/roundtrip/raw-9 574s # End of roundtrip tests 574s # End of converter-output-stream tests 574s # Start of converter-stream tests 574s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 574s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2825cec0 and GSocketClientAsyncConnectData 0x2aa28648270 574s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 574s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 574s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa28266020 for GSocketClientAsyncConnectData 0x2aa28648270 574s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 574s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 574s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 574s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 574s ok 16 /converter-stream/pollable 574s ok 17 /converter-stream/leftover 574s # End of converter-stream tests 574s ok - glib/converter-stream.test 574s # Running test: glib/gdbus-non-socket.test 574s TAP version 14 574s # random seed: R02Sbf3e770c12974a53e884404b2255917f 574s 1..1 574s # Start of gdbus tests 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_FNYUX2/gdbus/non-socket/.dirs/runtime 574s ok 1 /gdbus/non-socket 574s # End of gdbus tests 574s ok - glib/gdbus-non-socket.test 574s # Running test: glib/g-icon.test 574s TAP version 14 574s # random seed: R02S9df2b4aab4f8331ecae9b0074ef3cfa2 574s 1..6 574s # Start of icons tests 574s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 574s ok 1 /icons/to-string 574s ok 2 /icons/serialize 574s ok 3 /icons/themed 574s ok 4 /icons/emblemed 574s ok 5 /icons/file 574s ok 6 /icons/bytes 574s # End of icons tests 574s ok - glib/g-icon.test 574s # Running test: glib/bookmarkfile.test 574s TAP version 14 574s # random seed: R02S643140edf30278e4619b6216ca155c00 574s 1..96 574s # Start of bookmarks tests 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/load-from-data-dirs/.dirs/runtime 574s ok 1 /bookmarks/load-from-data-dirs 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/to-file/.dirs/runtime 574s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_ANHVX2/bookmarkfile-test-5XEVX2.xbel 574s # Roundtrip from a valid bookmark file 574s ok 2 /bookmarks/to-file 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/move-item/.dirs/runtime 574s ok 3 /bookmarks/move-item 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/corner-cases/.dirs/runtime 574s ok 4 /bookmarks/corner-cases 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/misc/.dirs/runtime 574s ok 5 /bookmarks/misc 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/deprecated/.dirs/runtime 574s ok 6 /bookmarks/deprecated 574s # Start of parse tests 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-41.xbel/.dirs/runtime 574s ok 7 /bookmarks/parse/fail-41.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-16.xbel/.dirs/runtime 574s ok 8 /bookmarks/parse/fail-16.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-26.xbel/.dirs/runtime 574s ok 9 /bookmarks/parse/fail-26.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-14.xbel/.dirs/runtime 574s ok 10 /bookmarks/parse/fail-14.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-22.xbel/.dirs/runtime 574s ok 11 /bookmarks/parse/fail-22.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-35.xbel/.dirs/runtime 574s ok 12 /bookmarks/parse/fail-35.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-32.xbel/.dirs/runtime 574s ok 13 /bookmarks/parse/fail-32.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-21.xbel/.dirs/runtime 574s ok 14 /bookmarks/parse/fail-21.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-29.xbel/.dirs/runtime 574s ok 15 /bookmarks/parse/fail-29.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-27.xbel/.dirs/runtime 574s ok 16 /bookmarks/parse/fail-27.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-18.xbel/.dirs/runtime 574s ok 17 /bookmarks/parse/fail-18.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-20.xbel/.dirs/runtime 574s ok 18 /bookmarks/parse/fail-20.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-38.xbel/.dirs/runtime 574s ok 19 /bookmarks/parse/fail-38.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-03.xbel/.dirs/runtime 574s ok 20 /bookmarks/parse/valid-03.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-17.xbel/.dirs/runtime 574s ok 21 /bookmarks/parse/fail-17.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-10.xbel/.dirs/runtime 574s ok 22 /bookmarks/parse/fail-10.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-34.xbel/.dirs/runtime 574s ok 23 /bookmarks/parse/fail-34.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-42.xbel/.dirs/runtime 574s ok 24 /bookmarks/parse/fail-42.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-31.xbel/.dirs/runtime 574s ok 25 /bookmarks/parse/fail-31.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-01.xbel/.dirs/runtime 574s ok 26 /bookmarks/parse/fail-01.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-07.xbel/.dirs/runtime 574s ok 27 /bookmarks/parse/fail-07.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-04.xbel/.dirs/runtime 574s ok 28 /bookmarks/parse/fail-04.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-06.xbel/.dirs/runtime 574s ok 29 /bookmarks/parse/fail-06.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-13.xbel/.dirs/runtime 574s ok 30 /bookmarks/parse/fail-13.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-09.xbel/.dirs/runtime 574s ok 31 /bookmarks/parse/fail-09.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-19.xbel/.dirs/runtime 574s ok 32 /bookmarks/parse/fail-19.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-36.xbel/.dirs/runtime 574s ok 33 /bookmarks/parse/fail-36.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-03.xbel/.dirs/runtime 574s ok 34 /bookmarks/parse/fail-03.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-39.xbel/.dirs/runtime 574s ok 35 /bookmarks/parse/fail-39.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-23.xbel/.dirs/runtime 574s ok 36 /bookmarks/parse/fail-23.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-15.xbel/.dirs/runtime 574s ok 37 /bookmarks/parse/fail-15.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-02.xbel/.dirs/runtime 574s ok 38 /bookmarks/parse/fail-02.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-33.xbel/.dirs/runtime 574s ok 39 /bookmarks/parse/fail-33.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-25.xbel/.dirs/runtime 574s ok 40 /bookmarks/parse/fail-25.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-30.xbel/.dirs/runtime 574s ok 41 /bookmarks/parse/fail-30.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-40.xbel/.dirs/runtime 574s ok 42 /bookmarks/parse/fail-40.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-01.xbel/.dirs/runtime 574s ok 43 /bookmarks/parse/valid-01.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-05.xbel/.dirs/runtime 574s ok 44 /bookmarks/parse/fail-05.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-37.xbel/.dirs/runtime 574s ok 45 /bookmarks/parse/fail-37.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-11.xbel/.dirs/runtime 574s ok 46 /bookmarks/parse/fail-11.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/valid-02.xbel/.dirs/runtime 574s ok 47 /bookmarks/parse/valid-02.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-28.xbel/.dirs/runtime 574s ok 48 /bookmarks/parse/fail-28.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-08.xbel/.dirs/runtime 574s ok 49 /bookmarks/parse/fail-08.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-12.xbel/.dirs/runtime 574s ok 50 /bookmarks/parse/fail-12.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/parse/fail-24.xbel/.dirs/runtime 574s ok 51 /bookmarks/parse/fail-24.xbel 574s # End of parse tests 574s # Start of copy tests 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-41.xbel/.dirs/runtime 574s ok 52 /bookmarks/copy/fail-41.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-16.xbel/.dirs/runtime 574s ok 53 /bookmarks/copy/fail-16.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-26.xbel/.dirs/runtime 574s ok 54 /bookmarks/copy/fail-26.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-14.xbel/.dirs/runtime 574s ok 55 /bookmarks/copy/fail-14.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-22.xbel/.dirs/runtime 574s ok 56 /bookmarks/copy/fail-22.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-35.xbel/.dirs/runtime 574s ok 57 /bookmarks/copy/fail-35.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-32.xbel/.dirs/runtime 574s ok 58 /bookmarks/copy/fail-32.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-21.xbel/.dirs/runtime 574s ok 59 /bookmarks/copy/fail-21.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-29.xbel/.dirs/runtime 574s ok 60 /bookmarks/copy/fail-29.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-27.xbel/.dirs/runtime 574s ok 61 /bookmarks/copy/fail-27.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-18.xbel/.dirs/runtime 574s ok 62 /bookmarks/copy/fail-18.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-20.xbel/.dirs/runtime 574s ok 63 /bookmarks/copy/fail-20.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-38.xbel/.dirs/runtime 574s ok 64 /bookmarks/copy/fail-38.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-03.xbel/.dirs/runtime 574s ok 65 /bookmarks/copy/valid-03.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-17.xbel/.dirs/runtime 574s ok 66 /bookmarks/copy/fail-17.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-10.xbel/.dirs/runtime 574s ok 67 /bookmarks/copy/fail-10.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-34.xbel/.dirs/runtime 574s ok 68 /bookmarks/copy/fail-34.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-42.xbel/.dirs/runtime 574s ok 69 /bookmarks/copy/fail-42.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-31.xbel/.dirs/runtime 574s ok 70 /bookmarks/copy/fail-31.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-01.xbel/.dirs/runtime 574s ok 71 /bookmarks/copy/fail-01.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-07.xbel/.dirs/runtime 574s ok 72 /bookmarks/copy/fail-07.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-04.xbel/.dirs/runtime 574s ok 73 /bookmarks/copy/fail-04.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-06.xbel/.dirs/runtime 574s ok 74 /bookmarks/copy/fail-06.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-13.xbel/.dirs/runtime 574s ok 75 /bookmarks/copy/fail-13.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-09.xbel/.dirs/runtime 574s ok 76 /bookmarks/copy/fail-09.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-19.xbel/.dirs/runtime 574s ok 77 /bookmarks/copy/fail-19.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-36.xbel/.dirs/runtime 574s ok 78 /bookmarks/copy/fail-36.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-03.xbel/.dirs/runtime 574s ok 79 /bookmarks/copy/fail-03.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-39.xbel/.dirs/runtime 574s ok 80 /bookmarks/copy/fail-39.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-23.xbel/.dirs/runtime 574s ok 81 /bookmarks/copy/fail-23.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-15.xbel/.dirs/runtime 574s ok 82 /bookmarks/copy/fail-15.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-02.xbel/.dirs/runtime 574s ok 83 /bookmarks/copy/fail-02.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-33.xbel/.dirs/runtime 574s ok 84 /bookmarks/copy/fail-33.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-25.xbel/.dirs/runtime 574s ok 85 /bookmarks/copy/fail-25.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-30.xbel/.dirs/runtime 574s ok 86 /bookmarks/copy/fail-30.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-40.xbel/.dirs/runtime 574s ok 87 /bookmarks/copy/fail-40.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-01.xbel/.dirs/runtime 574s ok 88 /bookmarks/copy/valid-01.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-05.xbel/.dirs/runtime 574s ok 89 /bookmarks/copy/fail-05.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-37.xbel/.dirs/runtime 574s ok 90 /bookmarks/copy/fail-37.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-11.xbel/.dirs/runtime 574s ok 91 /bookmarks/copy/fail-11.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/valid-02.xbel/.dirs/runtime 574s ok 92 /bookmarks/copy/valid-02.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-28.xbel/.dirs/runtime 574s ok 93 /bookmarks/copy/fail-28.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-08.xbel/.dirs/runtime 574s ok 94 /bookmarks/copy/fail-08.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-12.xbel/.dirs/runtime 574s ok 95 /bookmarks/copy/fail-12.xbel 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_ANHVX2/bookmarks/copy/fail-24.xbel/.dirs/runtime 574s ok 96 /bookmarks/copy/fail-24.xbel 574s # End of copy tests 574s # End of bookmarks tests 574s ok - glib/bookmarkfile.test 574s # Running test: glib/gdbus-export.test 574s TAP version 14 574s # random seed: R02Sed924fb971568891154fdec06d78ddba 574s 1..6 574s # Start of gdbus tests 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration/.dirs/runtime 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s ok 1 /gdbus/object-registration 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3YEUX2/gdbus/object-registration-with-closures/.dirs/runtime 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s ok 2 /gdbus/object-registration-with-closures 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3YEUX2/gdbus/registered-interfaces/.dirs/runtime 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s ok 3 /gdbus/registered-interfaces 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3YEUX2/gdbus/async-properties/.dirs/runtime 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s ok 4 /gdbus/async-properties 574s # Start of threaded-unregistration tests 574s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/home 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/cache 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/system-config2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/config 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/system-data2 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/data 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/state 574s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/object/.dirs/runtime 574s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 574s # /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 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 574s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 575s # slow test /gdbus/threaded-unregistration/object executed in 0.81 secs 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_3YEUX2/gdbus/threaded-unregistration/subtree/.dirs/runtime 575s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 575s # /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 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 575s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 576s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 576s # slow test /gdbus/threaded-unregistration/subtree executed in 0.81 secs 576s # End of threaded-unregistration tests 576s # End of gdbus tests 576s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 576s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 576s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 576s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 576s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 576s cleaning up pid 6718 576s ok - glib/gdbus-export.test 576s # Running test: glib/gdbus-exit-on-close.test 576s TAP version 14 576s # random seed: R02Sb5ec26647e4434d5cf1065d9cbb93daa 576s 1..4 576s # Start of gdbus tests 576s # Start of exit-on-close tests 576s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/home 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/cache 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/system-config2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/config 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/system-data2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/data 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/state 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/default/.dirs/runtime 576s ok 1 /gdbus/exit-on-close/default 576s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/home 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/cache 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/system-config2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/config 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/system-data2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/data 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/state 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/true/.dirs/runtime 576s ok 2 /gdbus/exit-on-close/true 576s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/home 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/cache 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/system-config2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/config 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/system-data2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/data 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/state 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/false/.dirs/runtime 576s ok 3 /gdbus/exit-on-close/false 576s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/home 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/cache 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/system-config2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/config 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/system-data2 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/data 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/state 576s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_3HV1X2/gdbus/exit-on-close/we-close/.dirs/runtime 576s ok 4 /gdbus/exit-on-close/we-close 576s # Start of default tests 576s # End of default tests 576s # Start of true tests 576s # End of true tests 576s # Start of false tests 576s # End of false tests 576s # Start of we-close tests 576s # End of we-close tests 576s # End of exit-on-close tests 576s # End of gdbus tests 576s ok - glib/gdbus-exit-on-close.test 576s # Running test: glib/strfuncs.test 576s TAP version 14 576s # random seed: R02Sbcc3528f1339882c10e5eae3c09c2015 576s 1..50 576s # Start of strfuncs tests 576s ok 1 /strfuncs/ascii-strcasecmp 576s ok 2 /strfuncs/ascii_strdown 576s ok 3 /strfuncs/ascii_strdup 576s ok 4 /strfuncs/ascii_strtod 576s ok 5 /strfuncs/bounds-check 576s ok 6 /strfuncs/has-prefix 576s ok 7 /strfuncs/has-prefix-macro 576s ok 8 /strfuncs/has-suffix 576s ok 9 /strfuncs/has-suffix-macro 576s ok 10 /strfuncs/memdup 576s ok 11 /strfuncs/memdup2 576s ok 12 /strfuncs/set_str 576s ok 13 /strfuncs/stpcpy 576s ok 14 /strfuncs/str_match_string 576s ok 15 /strfuncs/str_tokenize_and_fold 576s ok 16 /strfuncs/strcanon 576s ok 17 /strfuncs/strchomp 576s ok 18 /strfuncs/strchug 576s ok 19 /strfuncs/strcompress-strescape 576s ok 20 /strfuncs/strconcat 576s ok 21 /strfuncs/strdelimit 576s ok 22 /strfuncs/strdup 576s ok 23 /strfuncs/strdup-printf 576s ok 24 /strfuncs/strdupv 576s ok 25 /strfuncs/strerror 576s ok 26 /strfuncs/strip-context 576s ok 27 /strfuncs/strjoin 576s ok 28 /strfuncs/strjoinv 576s ok 29 /strfuncs/strlcat 576s ok 30 /strfuncs/strlcpy 576s ok 31 /strfuncs/strncasecmp 576s ok 32 /strfuncs/strndup 576s ok 33 /strfuncs/strnfill 576s ok 34 /strfuncs/strreverse 576s ok 35 /strfuncs/strsignal 576s ok 36 /strfuncs/strsplit 576s ok 37 /strfuncs/strsplit-set 576s ok 38 /strfuncs/strstr 576s ok 39 /strfuncs/strtod 576s ok 40 /strfuncs/strtoull-strtoll 576s ok 41 /strfuncs/strup 576s ok 42 /strfuncs/strv-contains 576s ok 43 /strfuncs/strv-equal 576s ok 44 /strfuncs/strv-length 576s ok 45 /strfuncs/test-is-to-digit 576s ok 46 /strfuncs/transliteration 576s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 576s ok 47 /strfuncs/str-equal 576s # Start of ascii-string-to-num tests 576s ok 48 /strfuncs/ascii-string-to-num/pathological 576s ok 49 /strfuncs/ascii-string-to-num/usual 576s # End of ascii-string-to-num tests 576s # Start of strdup tests 576s ok 50 /strfuncs/strdup/inline 576s # End of strdup tests 576s # End of strfuncs tests 576s ok - glib/strfuncs.test 576s # Running test: glib/timeout.test 576s TAP version 14 576s # random seed: R02S50b8360aa2bfeabc84856213e3509749 576s 1..5 576s # Start of timeout tests 576s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 576s # Executing: glib/timeout.test 578s ok 1 /timeout/seconds 578s # slow test /timeout/seconds executed in 2.10 secs 580s ok 2 /timeout/seconds-once 580s # slow test /timeout/seconds-once executed in 2.10 secs 580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 581s # Executing: glib/timeout.test 582s ok 3 /timeout/weeks-overflow 582s # slow test /timeout/weeks-overflow executed in 2.10 secs 582s ok 4 /timeout/far-future-ready-time 586s # Executing: glib/timeout.test 591s # Executing: glib/timeout.test 592s ok 5 /timeout/rounding 592s # slow test /timeout/rounding executed in 9.91 secs 592s # End of timeout tests 592s ok - glib/timeout.test 592s # Running test: glib/memory-output-stream.test 592s TAP version 14 592s # random seed: R02S14c7d8410f8977cdc924f4d4f15a2c13 592s 1..10 592s # Start of memory-output-stream tests 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 592s ok 1 /memory-output-stream/truncate 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 592s ok 2 /memory-output-stream/get-data-size 592s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 592s ok 3 /memory-output-stream/properties 592s ok 4 /memory-output-stream/write-bytes 592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 592s ok 5 /memory-output-stream/write-null 592s ok 6 /memory-output-stream/writev 592s ok 7 /memory-output-stream/writev_nonblocking 592s ok 8 /memory-output-stream/steal_as_bytes 592s # Start of seek tests 592s ok 9 /memory-output-stream/seek/fixed 592s ok 10 /memory-output-stream/seek/resizable 592s # End of seek tests 592s # End of memory-output-stream tests 592s ok - glib/memory-output-stream.test 592s # Running test: glib/spawn-singlethread.test 592s TAP version 14 592s # random seed: R02S6ce68d57150d1e054211c7024643a6a9 592s 1..9 592s # Start of gthread tests 592s ok 1 /gthread/spawn-single-sync 592s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 592s ok 2 /gthread/spawn-stderr-socket 592s ok 3 /gthread/spawn-single-async 592s # thread 1 592s # thread 1 592s ok 4 /gthread/spawn-single-async-with-fds 592s ok 5 /gthread/spawn-async-with-invalid-fds 592s ok 6 /gthread/spawn-script 592s ok 7 /gthread/spawn-posix-spawn 592s # Start of spawn tests 592s ok 8 /gthread/spawn/nonexistent 592s # FD map: 592s # • 5 → 15 592s # • 6 → 16 592s # • 7 → 17 592s # • 8 → 18 592s # • 9 → 19 592s # • 10 → 20 592s # • 11 → 21 592s # • 12 → 22 592s # • 13 → 23 592s # • 3 → 13 592s ok 9 /gthread/spawn/fd-assignment-clash 592s # End of spawn tests 592s # End of gthread tests 592s ok - glib/spawn-singlethread.test 592s # Running test: glib/portal-support-snap-classic.test 592s TAP version 14 592s # random seed: R02S9c1145ed121241545200429855fa8632 592s 1..3 592s # Start of portal-support tests 592s # Start of snap-classic tests 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl/.dirs/runtime 592s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/no-snapctl: No such file or directory 592s ok 1 /portal-support/snap-classic/no-snapctl 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/runtime 592s # Created snap.yaml in /tmp/test_portal-support-snap-classic_FIXPX2/meta/snap.yaml 592s # Created snapctl in /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none/.dirs/runtime/snapctl 592s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/none: No such file or directory 592s ok 2 /portal-support/snap-classic/none 592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/home 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/cache 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/system-config2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/config 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/system-data2 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/data 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/state 592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/runtime 592s # Created snap.yaml in /tmp/test_portal-support-snap-classic_FIXPX2/meta/snap.yaml 592s # Created snapctl in /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all/.dirs/runtime/snapctl 592s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_FIXPX2/portal-support/snap-classic/all: No such file or directory 592s ok 3 /portal-support/snap-classic/all 592s # End of snap-classic tests 592s # End of portal-support tests 592s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_FIXPX2: No such file or directory 592s ok - glib/portal-support-snap-classic.test 592s # Running test: glib/properties-refcount3.test 592s TAP version 14 592s # random seed: R02Sa6dfc93c0e2488e3a3e7df540ba24885 592s 1..1 592s # Start of gobject tests 592s # Start of refcount tests 596s # Executing: glib/properties-refcount3.test 601s # Executing: glib/properties-refcount3.test 606s # Executing: glib/properties-refcount3.test 611s # Executing: glib/properties-refcount3.test 616s # Executing: glib/properties-refcount3.test 621s # Executing: glib/properties-refcount3.test 622s # 622s # stopping 622s # 622s # stopped 622s # 622s # 35782134 497827 622s # 622s ok 1 /gobject/refcount/properties-3 622s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 622s # End of refcount tests 622s # End of gobject tests 622s ok - glib/properties-refcount3.test 622s # Running test: glib/signals-refcount3.test 622s TAP version 14 622s # random seed: R02S6876d149c5042ce46d527c352df0c61d 622s 1..1 622s # Start of gobject tests 622s # Start of refcount tests 622s # init 0x2aa0a4e8420 622s # 622s # init 0x2aa0a4e85c0 622s # 626s # Executing: glib/signals-refcount3.test 627s # dispose 0x2aa0a4e8420! 627s # 627s # dispose 0x2aa0a4e85c0! 627s # 627s ok 1 /gobject/refcount/signals 627s # slow test /gobject/refcount/signals executed in 5.00 secs 627s # End of refcount tests 627s # End of gobject tests 627s ok - glib/signals-refcount3.test 627s # Running test: glib/gdbus-message.test 627s TAP version 14 627s # random seed: R02Sb38e9d5927a7e2595521eb367180e3f4 627s 1..3 627s # Start of gdbus tests 627s # Start of message tests 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_4DEQX2/gdbus/message/lock/.dirs/runtime 627s ok 1 /gdbus/message/lock 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_4DEQX2/gdbus/message/copy/.dirs/runtime 627s ok 2 /gdbus/message/copy 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_4DEQX2/gdbus/message/bytes-needed/.dirs/runtime 627s # Vector: 0 627s # Vector: 1 627s # Vector: 2 627s # Vector: 3 627s # Vector: 4 627s # Vector: 5 627s ok 3 /gdbus/message/bytes-needed 627s # End of message tests 627s # End of gdbus tests 627s ok - glib/gdbus-message.test 627s # Running test: glib/autoptr.test 627s TAP version 14 627s # random seed: R02Sc548bab6b3ef34cb48d82c0f9ce4fd33 627s 1..6 627s # Start of autoptr tests 627s ok 1 /autoptr/autoptr 627s ok 2 /autoptr/autoptr_steal 627s ok 3 /autoptr/autolist 627s ok 4 /autoptr/autoslist 627s ok 5 /autoptr/autoqueue 627s ok 6 /autoptr/autoclass 627s # End of autoptr tests 627s ok - glib/autoptr.test 627s # Running test: glib/cxx-2b.test 627s TAP version 14 627s # random seed: R02Sf90bab0b3642249bc617e5939efd0f08 627s 1..2 627s # Start of gtask tests 627s # 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. 627s ok 1 /gtask/name 627s # Start of name tests 627s # 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. 627s ok 2 /gtask/name/macro-wrapper 627s # End of name tests 627s # End of gtask tests 627s ok - glib/cxx-2b.test 627s # Running test: glib/gdbus-test-codegen-old.test 627s TAP version 14 627s # random seed: R02Sa9425fef67cb4b9589d787093a8c6bbe 627s 1..8 627s # Start of gdbus tests 627s # Start of codegen tests 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/annotations/.dirs/runtime 627s ok 1 /gdbus/codegen/annotations 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/interface_stability/.dirs/runtime 627s ok 2 /gdbus/codegen/interface_stability 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/object-manager/.dirs/runtime 627s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 627s ok 3 /gdbus/codegen/object-manager 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/property-naming/.dirs/runtime 627s ok 4 /gdbus/codegen/property-naming 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/autocleanups/.dirs/runtime 627s ok 5 /gdbus/codegen/autocleanups 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/deprecations/.dirs/runtime 627s ok 6 /gdbus/codegen/deprecations 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 627s ok 7 /gdbus/codegen/standalone-interface-info 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_JRHPX2/gdbus/codegen/unix-fd-list/.dirs/runtime 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 627s ok 8 /gdbus/codegen/unix-fd-list 627s # End of codegen tests 627s # End of gdbus tests 627s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 627s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 627s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 627s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 627s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 627s ok - glib/gdbus-test-codegen-old.test 627s # Running test: glib/closure.test 627s TAP version 14 627s # random seed: R02Se1322419b7e3be95c2dbcd228f014ab0 627s 1..6 627s # Start of closure tests 627s ok 1 /closure/idle 627s ok 2 /closure/timeout 627s ok 3 /closure/iochannel 627s ok 4 /closure/child 627s ok 5 /closure/fd 627s ok 6 /closure/signal 627s # End of closure tests 627s ok - glib/closure.test 627s # Running test: glib/gdbus-connection-slow.test 627s TAP version 14 627s # random seed: R02Scfe51788a79c46bdea40784e4d248c5a 627s 1..2 627s # Start of gdbus tests 627s # Start of connection tests 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/flush/.dirs/runtime 627s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s ok 1 /gdbus/connection/flush 628s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/home 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/cache 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/system-config2 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/config 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/system-data2 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/data 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/state 628s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_WZNOX2/gdbus/connection/large_message/.dirs/runtime 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 628s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 628s ok 2 /gdbus/connection/large_message 628s # End of connection tests 628s # End of gdbus tests 628s ok - glib/gdbus-connection-slow.test 628s # Running test: glib/unix-fd.test 628s TAP version 14 628s # random seed: R02Sf286d8ee27c728a1fab2025af3ed9a02 628s 1..2 628s # Start of unix-fd tests 628s ok 1 /unix-fd/fd-list 628s ok 2 /unix-fd/scm 628s # End of unix-fd tests 628s ok - glib/unix-fd.test 628s # Running test: glib/contenttype.test 628s TAP version 14 628s # random seed: R02S8393c5bbd5ab661120b7ce80e5edb2a6 628s 1..13 628s # Start of contenttype tests 628s ok 1 /contenttype/guess 628s ok 2 /contenttype/guess_svg_from_data 628s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 628s ok 4 /contenttype/unknown 628s ok 5 /contenttype/subtype 628s ok 6 /contenttype/list 628s ok 7 /contenttype/executable 628s ok 8 /contenttype/description 628s ok 9 /contenttype/icon 628s ok 10 /contenttype/symbolic-icon 628s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 628s ok 11 /contenttype/tree 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 628s ok 12 /contenttype/tree_invalid_encoding 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 628s ok 13 /contenttype/test_type_is_a_special_case 628s # End of contenttype tests 628s ok - glib/contenttype.test 628s # Running test: glib/hook.test 628s TAP version 14 628s # random seed: R02S68b8f7430a7b1fb8fd5f690c4cd4c5d8 628s 1..2 628s # Start of hook tests 628s ok 1 /hook/basics 628s ok 2 /hook/corner-cases 628s # End of hook tests 628s ok - glib/hook.test 628s # Running test: glib/atomic-c-11.test 628s TAP version 14 628s # random seed: R02S5064bcb411152981144634bde76be843 628s 1..2 628s # Start of atomic tests 628s ok 1 /atomic/types 628s ok 2 /atomic/threaded 628s # End of atomic tests 628s ok - glib/atomic-c-11.test 628s # Running test: glib/thumbnail-verification.test 628s TAP version 14 628s # random seed: R02S63f61a0db7eb75fd3913470711c4315e 628s 1..1 628s # Start of png-thumbs tests 628s ok 1 /png-thumbs/validity 628s # End of png-thumbs tests 628s ok - glib/thumbnail-verification.test 628s # Running test: glib/macros.test 628s TAP version 14 628s # random seed: R02S91875608743d83f765beb0c8dc5ad726 628s 1..3 628s # Start of alignof tests 628s ok 1 /alignof/fallback 628s # End of alignof tests 628s # Start of assert tests 628s ok 2 /assert/static 628s # End of assert tests 628s # Start of struct tests 628s ok 3 /struct/sizeof_member 628s # End of struct tests 628s ok - glib/macros.test 628s # Running test: glib/atomic-c-99.test 628s TAP version 14 628s # random seed: R02S0b3a16f1a6c0458ed3ed648829a94cf5 628s 1..2 628s # Start of atomic tests 628s ok 1 /atomic/types 628s ok 2 /atomic/threaded 628s # End of atomic tests 628s ok - glib/atomic-c-99.test 628s # Running test: glib/date.test 628s TAP version 14 628s # random seed: R02Sf48c9fc5c7cfbf9dd53993678673ccd3 628s 1..121 628s # Start of date tests 628s ok 1 /date/basic 628s ok 2 /date/empty 628s ok 3 /date/dmy 628s ok 4 /date/julian 628s ok 5 /date/compare 628s ok 6 /date/dates 628s ok 7 /date/strftime 628s ok 8 /date/two-digit-years 628s ok 9 /date/parse 628s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 628s ok 11 /date/month_substring 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 628s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 628s ok 13 /date/clamp 628s ok 14 /date/order 628s ok 15 /date/copy 628s # Vector 0: 0000-00-00, invalid 628s # Vector 1: 0001-01-01, valid 628s # Vector 2: 0000-01-01, invalid 628s # Vector 3: 2000-02-30, invalid 628s # Vector 4: 2000-02-29, valid 628s # Vector 5: 2001-02-29, invalid 628s # Vector 6: 65535-01-01, valid 628s ok 16 /date/valid-dmy 628s # Start of parse tests 628s # Test 0 628s # Test 1 628s ok 17 /date/parse/invalid 628s # End of parse tests 628s # Start of year tests 628s ok 18 /date/year/1 628s ok 19 /date/year/2 628s ok 20 /date/year/3 628s ok 21 /date/year/4 628s ok 22 /date/year/5 628s ok 23 /date/year/6 628s ok 24 /date/year/7 628s ok 25 /date/year/8 628s ok 26 /date/year/9 628s ok 27 /date/year/10 628s ok 28 /date/year/11 628s ok 29 /date/year/12 628s ok 30 /date/year/13 628s ok 31 /date/year/14 628s ok 32 /date/year/98 628s ok 33 /date/year/99 628s ok 34 /date/year/100 628s ok 35 /date/year/101 628s ok 36 /date/year/102 628s ok 37 /date/year/103 628s ok 38 /date/year/397 628s ok 39 /date/year/398 628s ok 40 /date/year/399 628s ok 41 /date/year/400 628s ok 42 /date/year/401 628s ok 43 /date/year/402 628s ok 44 /date/year/403 628s ok 45 /date/year/404 628s ok 46 /date/year/405 628s ok 47 /date/year/406 628s ok 48 /date/year/1598 628s ok 49 /date/year/1599 628s ok 50 /date/year/1600 628s ok 51 /date/year/1601 628s ok 52 /date/year/1602 628s ok 53 /date/year/1650 628s ok 54 /date/year/1651 628s ok 55 /date/year/1897 628s ok 56 /date/year/1898 628s ok 57 /date/year/1899 628s ok 58 /date/year/1900 628s ok 59 /date/year/1901 628s ok 60 /date/year/1902 628s ok 61 /date/year/1903 628s ok 62 /date/year/1961 628s ok 63 /date/year/1962 628s ok 64 /date/year/1963 628s ok 65 /date/year/1964 628s ok 66 /date/year/1965 628s ok 67 /date/year/1967 628s ok 68 /date/year/1968 628s ok 69 /date/year/1969 628s ok 70 /date/year/1970 628s ok 71 /date/year/1971 628s ok 72 /date/year/1972 628s ok 73 /date/year/1973 628s ok 74 /date/year/1974 628s ok 75 /date/year/1975 628s ok 76 /date/year/1976 628s ok 77 /date/year/1977 628s ok 78 /date/year/1978 628s ok 79 /date/year/1979 628s ok 80 /date/year/1980 628s ok 81 /date/year/1981 628s ok 82 /date/year/1982 628s ok 83 /date/year/1983 628s ok 84 /date/year/1984 628s ok 85 /date/year/1985 628s ok 86 /date/year/1986 628s ok 87 /date/year/1987 628s ok 88 /date/year/1988 628s ok 89 /date/year/1989 628s ok 90 /date/year/1990 628s ok 91 /date/year/1991 628s ok 92 /date/year/1992 628s ok 93 /date/year/1993 628s ok 94 /date/year/1994 628s ok 95 /date/year/1995 628s ok 96 /date/year/1996 628s ok 97 /date/year/1997 628s ok 98 /date/year/1998 628s ok 99 /date/year/1999 628s ok 100 /date/year/2000 628s ok 101 /date/year/2001 628s ok 102 /date/year/2002 628s ok 103 /date/year/2003 628s ok 104 /date/year/2004 628s ok 105 /date/year/2005 628s ok 106 /date/year/2006 628s ok 107 /date/year/2007 628s ok 108 /date/year/2008 628s ok 109 /date/year/2009 628s ok 110 /date/year/2010 628s ok 111 /date/year/2011 628s ok 112 /date/year/2012 628s ok 113 /date/year/3000 628s ok 114 /date/year/3001 628s ok 115 /date/year/3002 628s ok 116 /date/year/3998 628s ok 117 /date/year/3999 628s ok 118 /date/year/4000 628s ok 119 /date/year/4001 628s ok 120 /date/year/4002 628s ok 121 /date/year/4003 628s # End of year tests 628s # End of date tests 628s ok - glib/date.test 628s # Running test: glib/queue.test 628s TAP version 14 628s # random seed: R02Safbf97c57855262b24de1a3e6cbfb4df 628s 1..12 628s # Start of queue tests 628s ok 1 /queue/basic 628s ok 2 /queue/copy 628s ok 3 /queue/off-by-one 628s ok 4 /queue/find-custom 628s ok 5 /queue/static 628s ok 6 /queue/clear 628s ok 7 /queue/free-full 628s ok 8 /queue/clear-full 628s ok 9 /queue/insert-sibling-link 628s ok 10 /queue/push-nth-link 628s # Start of clear-full tests 628s ok 11 /queue/clear-full/noop 628s # End of clear-full tests 628s # Start of random tests 628s ok 12 /queue/random/seed:990505671 628s # End of random tests 628s # End of queue tests 628s ok - glib/queue.test 628s # Running test: glib/cxx-03.test 628s TAP version 14 628s # random seed: R02Sc6998515aa314d5640377eabbee03e81 628s 1..2 628s # Start of gtask tests 628s # 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. 628s ok 1 /gtask/name 628s # Start of name tests 628s # 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. 628s ok 2 /gtask/name/macro-wrapper 628s # End of name tests 628s # End of gtask tests 628s ok - glib/cxx-03.test 628s # Running test: glib/filter-streams.test 628s TAP version 14 628s # random seed: R02S4a71cdd9b9485cc3995fcfca29e4d790 628s 1..4 628s # Start of filter-stream tests 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 628s ok 1 /filter-stream/input 628s ok 2 /filter-stream/output 628s ok 3 /filter-stream/async-input 628s ok 4 /filter-stream/async-output 628s # End of filter-stream tests 628s ok - glib/filter-streams.test 628s # Running test: glib/reference.test 628s TAP version 14 628s # random seed: R02Sf3c631cd80122bcf6968d82c339c39ed 628s 1..29 628s # Start of type tests 628s ok 1 /type/fundamentals 628s ok 2 /type/qdata 628s ok 3 /type/query 628s ok 4 /type/class-private 628s # End of type tests 628s # Start of object tests 628s ok 5 /object/clear 628s ok 6 /object/clear-function 628s ok 7 /object/set 628s ok 8 /object/set-function 628s ok 9 /object/value 628s ok 10 /object/initially-unowned 628s ok 11 /object/weak-pointer 628s ok 12 /object/weak-ref 628s ok 13 /object/toggle-ref 628s ok 14 /object/qdata 628s ok 15 /object/qdata2 628s # Start of set tests 628s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 628s ok 16 /object/set/derived-type 628s # End of set tests 628s # Start of weak-pointer tests 628s ok 17 /object/weak-pointer/clear 628s ok 18 /object/weak-pointer/clear-function 628s ok 19 /object/weak-pointer/set 628s ok 20 /object/weak-pointer/set-function 628s # End of weak-pointer tests 628s # Start of weak-ref tests 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 628s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 628s ok 21 /object/weak-ref/on-dispose 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 628s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 628s ok 22 /object/weak-ref/on-run-dispose 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 628s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 628s ok 23 /object/weak-ref/on-toggle-notify 628s ok 24 /object/weak-ref/in-toggle-notify 628s ok 25 /object/weak-ref/many 628s # Start of concurrent tests 628s ok 26 /object/weak-ref/concurrent/0 628s ok 27 /object/weak-ref/concurrent/1 628s # End of concurrent tests 628s # End of weak-ref tests 628s # Start of toggle-ref tests 628s ok 28 /object/toggle-ref/ref-on-dispose 628s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 628s # End of toggle-ref tests 628s # End of object tests 628s ok - glib/reference.test 628s # Running test: glib/references.test 628s TAP version 14 628s # random seed: R02S10fd48df2ba62f20f248905381d1765b 628s 1..1 628s # Start of gobject tests 628s ok 1 /gobject/references 628s # End of gobject tests 628s ok - glib/references.test 628s # Running test: glib/ifaceproperties.test 628s TAP version 14 628s # random seed: R02S986a2bd34f5673ba8f301197bf89fd44 628s 1..7 628s # Start of interface tests 628s # Start of properties tests 628s ok 1 /interface/properties/set 628s ok 2 /interface/properties/notify 628s ok 3 /interface/properties/find-overridden 628s ok 4 /interface/properties/list-overridden 628s ok 5 /interface/properties/find-interface 628s ok 6 /interface/properties/list-interface 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 628s ok 7 /interface/properties/not-overridden 628s # End of properties tests 628s # End of interface tests 628s ok - glib/ifaceproperties.test 628s # Running test: glib/memory-settings-backend.test 628s TAP version 14 628s # random seed: R02S64807ef5ea87cdb0f1fa98fe4a908dbf 628s 1..1 628s # Start of memory-settings-backend tests 628s ok 1 /memory-settings-backend/extension-point-registered 628s # End of memory-settings-backend tests 628s ok - glib/memory-settings-backend.test 628s # Running test: glib/macros-c-11.test 628s TAP version 14 628s # random seed: R02Sbd5a53bb8662a22a7d05a134f7130d47 628s 1..4 628s # Start of C tests 628s ok 1 /C/standard-11 628s # End of C tests 628s # Start of alignof tests 628s ok 2 /alignof/fallback 628s # End of alignof tests 628s # Start of assert tests 628s ok 3 /assert/static 628s # End of assert tests 628s # Start of struct tests 628s ok 4 /struct/sizeof_member 628s # End of struct tests 628s ok - glib/macros-c-11.test 628s # Running test: glib/power-profile-monitor-dbus.test 629s TAP version 13 629s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 629s 1..1 629s ok - glib/power-profile-monitor-dbus.test 629s # Running test: glib/appmonitor.test 629s TAP version 14 629s # random seed: R02S49cae61cafcba4dda70267f82666a31b 629s 1..1 629s # Start of monitor tests 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/runtime 629s # Using data directory: /tmp/test_appmonitor_3IQ2X2/monitor/app/.dirs/data 629s ok 1 /monitor/app 629s # End of monitor tests 629s ok - glib/appmonitor.test 629s # Running test: glib/signal-handler.test 629s TAP version 14 629s # random seed: R02S88ed2bf3d7dbde653af792e74dd488a9 629s 1..7 629s # Start of signal tests 629s # Start of handler tests 629s # min perf: connected 1 handlers in 0.000 seconds 629s ok 1 /signal/handler/connect-many 629s # min perf: disconnected 1 handlers in 0.000 seconds 629s ok 2 /signal/handler/disconnect-many-ordered 629s # min perf: disconnected 1 handlers in 0.000 seconds 629s ok 3 /signal/handler/disconnect-many-inverse 629s # min perf: disconnected 1 handlers in 0.000 seconds 629s ok 4 /signal/handler/disconnect-many-random 629s # min perf: disconnected 1 handlers in 0.000 seconds 629s ok 5 /signal/handler/disconnect-2-signals 629s # min perf: disconnected 1 handlers in 0.000 seconds 629s ok 6 /signal/handler/disconnect-2-objects 629s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 629s ok 7 /signal/handler/block-many 629s # End of handler tests 629s # End of signal tests 629s ok - glib/signal-handler.test 629s # Running test: glib/markup-subparser.test 629s TAP version 14 629s # random seed: R02Saa00ff05cca0f885fb2558046d6f02e7 629s 1..14 629s # Start of glib tests 629s # Start of markup tests 629s # Start of subparser tests 629s # Start of success tests 629s ok 1 /glib/markup/subparser/success/0 629s ok 2 /glib/markup/subparser/success/1 629s ok 3 /glib/markup/subparser/success/2 629s ok 4 /glib/markup/subparser/success/3 629s ok 5 /glib/markup/subparser/success/4 629s ok 6 /glib/markup/subparser/success/5 629s ok 7 /glib/markup/subparser/success/6 629s # End of success tests 629s # Start of failure tests 629s ok 8 /glib/markup/subparser/failure/0 629s ok 9 /glib/markup/subparser/failure/1 629s ok 10 /glib/markup/subparser/failure/2 629s ok 11 /glib/markup/subparser/failure/3 629s ok 12 /glib/markup/subparser/failure/4 629s ok 13 /glib/markup/subparser/failure/5 629s ok 14 /glib/markup/subparser/failure/6 629s # End of failure tests 629s # End of subparser tests 629s # End of markup tests 629s # End of glib tests 629s ok - glib/markup-subparser.test 629s # Running test: glib/gdbus-names.test 629s TAP version 14 629s # random seed: R02Sec10f99de879429d276ad10c31ec21e2 629s 1..10 629s # Start of gdbus tests 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/validate-names/.dirs/runtime 629s ok 1 /gdbus/validate-names 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-own-name/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 2 /gdbus/bus-own-name 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 3 /gdbus/bus-watch-name 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 4 /gdbus/bus-watch-name-auto-start 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s dbus-daemon[9165]: [session uid=1000 pid=9165] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=9156 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 629s # Acquired a message bus connection 629s dbus-daemon[9165]: [session uid=1000 pid=9165] Successfully activated service 'org.gtk.GDBus.FakeService' 629s # Acquired the name org.gtk.GDBus.FakeService 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 6 /gdbus/bus-watch-name-closures 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 7 /gdbus/bus-watch-name-closures-auto-start 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-watch-different-context/.dirs/runtime 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 8 /gdbus/bus-watch-different-context 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/bus-unwatch-early/.dirs/runtime 629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 629s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok 9 /gdbus/bus-unwatch-early 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5YL2X2/gdbus/escape-object-path/.dirs/runtime 629s ok 10 /gdbus/escape-object-path 629s # End of gdbus tests 629s ok - glib/gdbus-names.test 629s # Running test: glib/init.test 629s TAP version 14 629s # random seed: R02S7c415a2b379051f7b6571997e04b04ac 629s 1..2 629s # Start of thread tests 629s # Start of deprecated tests 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_C031X2/thread/deprecated/init/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_C031X2/thread/deprecated/init/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_C031X2/thread/deprecated/init/.dirs/runtime 629s ok 1 /thread/deprecated/init 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_C031X2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 629s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 629s # End of deprecated tests 629s # End of thread tests 629s ok - glib/init.test 629s # Running test: glib/fileattributematcher.test 629s TAP version 14 629s # random seed: R02Sf0940ddce898a4363f9d42c8000ed7b2 629s 1..3 629s # Start of fileattributematcher tests 629s ok 1 /fileattributematcher/exact 629s ok 2 /fileattributematcher/equality 629s ok 3 /fileattributematcher/subtract 629s # End of fileattributematcher tests 629s ok - glib/fileattributematcher.test 629s # Running test: glib/io-stream.test 629s TAP version 14 629s # random seed: R02S435010bf5a354eae6adef7e43089f438 629s 1..3 629s # Start of io-stream tests 629s ok 1 /io-stream/copy-chunks 629s # Start of close tests 629s # Start of async tests 629s ok 2 /io-stream/close/async/memory 629s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 629s ok 3 /io-stream/close/async/file 629s # End of async tests 629s # End of close tests 629s # End of io-stream tests 629s ok - glib/io-stream.test 629s # Running test: glib/defaultvalue.test 629s TAP version 14 629s # random seed: R02Sd1929cf99a1da3cb37c3f946ee452838 629s 1..84 629s # Start of Default Values tests 629s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 629s ok 2 /Default Values/GAppLaunchContext 629s ok 3 /Default Values/GApplicationCommandLine 629s # skipping GApplication:is-remote 629s ok 4 /Default Values/GApplication 629s ok 5 /Default Values/GBinding # SKIP mandatory construct params 629s ok 6 /Default Values/GBindingGroup 629s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 629s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 629s ok 9 /Default Values/GBytesIcon 629s ok 10 /Default Values/GCancellable 629s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 629s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 629s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 629s ok 14 /Default Values/GCredentials 629s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 629s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 629s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 629s ok 18 /Default Values/GDBusAuthObserver 629s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 629s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 629s ok 21 /Default Values/GDBusMessage 629s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 629s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 629s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 629s ok 25 /Default Values/GDBusObjectProxy 629s ok 26 /Default Values/GDBusObjectSkeleton 629s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 629s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 629s ok 29 /Default Values/GEmblem 629s ok 30 /Default Values/GEmblemedIcon 629s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 629s ok 32 /Default Values/GFileInfo 629s ok 33 /Default Values/GFileInputStream 629s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 629s ok 35 /Default Values/GFileOutputStream 629s ok 36 /Default Values/GFilenameCompleter 629s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 629s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 629s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 629s ok 40 /Default Values/GInitiallyUnowned 629s ok 41 /Default Values/GIOModule 629s ok 42 /Default Values/GListStore 629s ok 43 /Default Values/GMemoryInputStream 629s ok 44 /Default Values/GMemoryOutputStream 629s ok 45 /Default Values/GMenu 629s ok 46 /Default Values/GMenuItem 629s ok 47 /Default Values/GMountOperation 629s ok 48 /Default Values/GNativeSocketAddress 629s ok 49 /Default Values/GNetworkAddress 629s ok 50 /Default Values/GNetworkService 629s ok 51 /Default Values/GNotification 629s ok 52 /Default Values/GObject 629s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 629s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 629s # skipping GProxyAddressEnumerator:proxy-resolver 629s ok 54 /Default Values/GProxyAddressEnumerator 629s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 629s ok 56 /Default Values/GSettings # SKIP mandatory construct params 629s ok 57 /Default Values/GSignalGroup 629s ok 58 /Default Values/GSimpleAction 629s ok 59 /Default Values/GSimpleActionGroup 629s ok 60 /Default Values/GSimpleAsyncResult 629s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 629s ok 62 /Default Values/GSimplePermission 629s ok 63 /Default Values/GSimpleProxyResolver 629s # skipping GSocketClient:proxy-resolver 629s ok 64 /Default Values/GSocketClient 629s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 629s ok 66 /Default Values/GSocket # SKIP initialization failed 629s ok 67 /Default Values/GSocketListener 629s ok 68 /Default Values/GSocketService 629s ok 69 /Default Values/GSubprocess # SKIP initialization failed 629s ok 70 /Default Values/GSubprocessLauncher 629s # GLib-GIO-DEBUG: GTask 0x2aa21e72fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 629s ok 71 /Default Values/GTask 629s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 629s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 629s ok 74 /Default Values/GTestDBus 629s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 629s ok 76 /Default Values/GThreadedSocketService 629s ok 77 /Default Values/GTlsInteraction 629s ok 78 /Default Values/GTlsPassword 629s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 629s ok 80 /Default Values/GUnixFDList 629s ok 81 /Default Values/GVfs 629s ok 82 /Default Values/GVolumeMonitor 629s ok 83 /Default Values/GZlibCompressor 629s ok 84 /Default Values/GZlibDecompressor 629s # End of Default Values tests 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 629s ok - glib/defaultvalue.test 629s # Running test: glib/override.test 629s TAP version 14 629s # random seed: R02S7cfe9117a89f4ee78483ce4541b10ed9 629s 1..1 629s # Start of gobject tests 629s # *** emitting foo on a TestA instance 629s # Expecting: TestA::foo,TestI::foo 629s # Got: TestA::foo,TestI::foo 629s # *** emitting bar on a TestA instance 629s # Expecting: TestA::bar 629s # Got: TestA::bar 629s # *** emitting baz on a TestA instance 629s # Expecting: TestA::baz 629s # Got: TestA::baz 629s # *** emitting foo on a TestB instance 629s # Expecting: TestB::foo,TestA::foo,TestI::foo 629s # Got: TestB::foo,TestA::foo,TestI::foo 629s # *** emitting bar on a TestB instance 629s # Expecting: TestB::bar,TestA::bar 629s # Got: TestB::bar,TestA::bar 629s # *** emitting baz on a TestB instance 629s # Expecting: TestB::baz,TestA::baz 629s # Got: TestB::baz,TestA::baz 629s # *** emitting foo on a TestC instance 629s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 629s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 629s # *** emitting bar on a TestC instance 629s # Expecting: TestC::bar,TestB::bar,TestA::bar 629s # Got: TestC::bar,TestB::bar,TestA::bar 629s # *** emitting baz on a TestC instance 629s # Expecting: TestC::baz,TestB::baz,TestA::baz 629s # Got: TestC::baz,TestB::baz,TestA::baz 629s ok 1 /gobject/override 629s # End of gobject tests 629s ok - glib/override.test 629s # Running test: glib/pathbuf.test 629s TAP version 14 629s # random seed: R02S6db13d6314f4d201ebfdc96a7702b25f 629s 1..3 629s # Start of pathbuf tests 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_89G2X2/pathbuf/init/.dirs/runtime 629s # Initializing empty path buf 629s # Initializing with empty path 629s # Initializing with full path 629s # Initializing with no path 629s # Allocating GPathBuf on the heap 629s ok 1 /pathbuf/init 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_89G2X2/pathbuf/push-pop/.dirs/runtime 629s # Pushing relative path component 629s # Pushing absolute path component 629s # Popping a path component 629s # Can't pop the last element of a path buffer 629s ok 2 /pathbuf/push-pop 629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/home 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/cache 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/system-config2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/config 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/system-data2 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/data 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/state 629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_89G2X2/pathbuf/filename-extension/.dirs/runtime 629s ok 3 /pathbuf/filename-extension 629s # End of pathbuf tests 629s ok - glib/pathbuf.test 629s # Running test: glib/thread-deprecated.test 629s TAP version 14 629s # random seed: R02Sda360476231f89e2a5f6fd2ddae2143f 629s 1..6 629s # Start of thread tests 629s ok 1 /thread/mutex 629s ok 2 /thread/static-rec-mutex 631s # Executing: glib/thread-deprecated.test 634s ok 3 /thread/static-private 634s # slow test /thread/static-private executed in 4.40 secs 636s # Executing: glib/thread-deprecated.test 639s ok 4 /thread/static-rw-lock 639s # slow test /thread/static-rw-lock executed in 5.00 secs 639s ok 5 /thread/once 641s # Executing: glib/thread-deprecated.test 646s # Executing: glib/thread-deprecated.test 649s ok 6 /thread/rerun-all 649s # slow test /thread/rerun-all executed in 9.82 secs 649s # End of thread tests 649s ok - glib/thread-deprecated.test 649s # Running test: glib/buffered-input-stream.test 649s TAP version 14 649s # random seed: R02S4dd8f2ada86425c5ebb8ae170207de59 649s 1..10 649s # Start of buffered-input-stream tests 649s ok 1 /buffered-input-stream/peek 649s ok 2 /buffered-input-stream/peek-buffer 649s ok 3 /buffered-input-stream/set-buffer-size 649s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 649s ok 4 /buffered-input-stream/read-byte 649s ok 5 /buffered-input-stream/read 649s ok 6 /buffered-input-stream/read-async 649s ok 7 /buffered-input-stream/skip 649s ok 8 /buffered-input-stream/skip-async 649s ok 9 /buffered-input-stream/seek 649s # End of buffered-input-stream tests 649s # Start of filter-input-stream tests 649s ok 10 /filter-input-stream/close 649s # End of filter-input-stream tests 649s ok - glib/buffered-input-stream.test 649s # Running test: glib/gdbus-error.test 649s TAP version 14 649s # random seed: R02S6051d99e6a029465d8ddc24771f8b198 649s 1..4 649s # Start of gdbus tests 649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/home 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/cache 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/system-config2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/config 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/system-data2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/data 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/state 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_Q3P5X2/gdbus/registered-errors/.dirs/runtime 649s ok 1 /gdbus/registered-errors 649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/home 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/cache 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/system-config2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/config 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/system-data2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/data 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/state 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_Q3P5X2/gdbus/unregistered-errors/.dirs/runtime 649s ok 2 /gdbus/unregistered-errors 649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/home 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/cache 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/system-config2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/config 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/system-data2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/data 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/state 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_Q3P5X2/gdbus/transparent-gerror/.dirs/runtime 649s ok 3 /gdbus/transparent-gerror 649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/home 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/cache 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/system-config2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/config 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/system-data2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/data 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/state 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_Q3P5X2/gdbus/register-error/.dirs/runtime 649s ok 4 /gdbus/register-error 649s # End of gdbus tests 649s ok - glib/gdbus-error.test 649s # Running test: glib/regex.test 649s TAP version 14 649s # random seed: R02S0ec48a836171ff2383bfa0a957cefc51 649s 1..848 649s # Start of regex tests 649s ok 1 /regex/properties 649s ok 2 /regex/class 649s ok 3 /regex/lookahead 649s ok 4 /regex/lookbehind 649s ok 5 /regex/subpattern 649s ok 6 /regex/condition 649s ok 7 /regex/recursion 649s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 649s ok 8 /regex/multiline 649s ok 9 /regex/explicit-crlf 649s ok 10 /regex/max-lookbehind 649s ok 11 /regex/compile-errors 649s ok 12 /regex/jit-unsupported-matching 649s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 649s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 649s ok 13 /regex/unmatched-named-subpattern 649s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 649s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 649s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 649s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 649s ok 14 /regex/compiled-regex-after-jit-failure 649s # Start of new tests 649s ok 15 /regex/new/1 649s ok 16 /regex/new/2 649s ok 17 /regex/new/3 649s ok 18 /regex/new/4 649s ok 19 /regex/new/5 649s ok 20 /regex/new/6 649s ok 21 /regex/new/7 649s ok 22 /regex/new/8 649s ok 23 /regex/new/9 649s ok 24 /regex/new/10 649s ok 25 /regex/new/11 649s ok 26 /regex/new/12 649s ok 27 /regex/new/13 649s ok 28 /regex/new/14 649s ok 29 /regex/new/15 649s ok 30 /regex/new/16 649s ok 31 /regex/new/17 649s ok 32 /regex/new/18 649s ok 33 /regex/new/19 649s ok 34 /regex/new/71 649s ok 35 /regex/new/80 649s ok 36 /regex/new/82 649s # End of new tests 649s # Start of new-check-flags tests 649s ok 37 /regex/new-check-flags/20 649s ok 38 /regex/new-check-flags/21 649s ok 39 /regex/new-check-flags/22 649s ok 40 /regex/new-check-flags/23 649s ok 41 /regex/new-check-flags/24 649s ok 42 /regex/new-check-flags/25 649s ok 43 /regex/new-check-flags/26 649s ok 44 /regex/new-check-flags/27 649s ok 45 /regex/new-check-flags/28 649s ok 46 /regex/new-check-flags/29 649s ok 47 /regex/new-check-flags/30 649s ok 48 /regex/new-check-flags/31 649s ok 49 /regex/new-check-flags/32 649s ok 50 /regex/new-check-flags/33 649s ok 51 /regex/new-check-flags/34 649s ok 52 /regex/new-check-flags/35 649s ok 53 /regex/new-check-flags/36 649s # End of new-check-flags tests 649s # Start of new-fail tests 649s ok 54 /regex/new-fail/37 649s ok 55 /regex/new-fail/38 649s ok 56 /regex/new-fail/39 649s ok 57 /regex/new-fail/40 649s ok 58 /regex/new-fail/41 649s ok 59 /regex/new-fail/42 649s ok 60 /regex/new-fail/43 649s ok 61 /regex/new-fail/44 649s ok 62 /regex/new-fail/45 649s ok 63 /regex/new-fail/46 649s ok 64 /regex/new-fail/47 649s ok 65 /regex/new-fail/48 649s ok 66 /regex/new-fail/49 649s ok 67 /regex/new-fail/50 649s ok 68 /regex/new-fail/51 649s ok 69 /regex/new-fail/52 649s ok 70 /regex/new-fail/53 649s ok 71 /regex/new-fail/54 649s ok 72 /regex/new-fail/55 649s ok 73 /regex/new-fail/56 649s ok 74 /regex/new-fail/57 649s ok 75 /regex/new-fail/58 649s ok 76 /regex/new-fail/59 649s ok 77 /regex/new-fail/60 649s ok 78 /regex/new-fail/61 649s ok 79 /regex/new-fail/62 649s ok 80 /regex/new-fail/63 649s ok 81 /regex/new-fail/64 649s ok 82 /regex/new-fail/65 649s ok 83 /regex/new-fail/66 649s ok 84 /regex/new-fail/67 649s ok 85 /regex/new-fail/68 649s ok 86 /regex/new-fail/69 649s ok 87 /regex/new-fail/70 649s ok 88 /regex/new-fail/72 649s ok 89 /regex/new-fail/73 649s ok 90 /regex/new-fail/74 649s ok 91 /regex/new-fail/75 649s ok 92 /regex/new-fail/76 649s ok 93 /regex/new-fail/77 649s ok 94 /regex/new-fail/78 649s ok 95 /regex/new-fail/79 649s ok 96 /regex/new-fail/81 649s ok 97 /regex/new-fail/83 649s ok 98 /regex/new-fail/84 649s ok 99 /regex/new-fail/85 649s ok 100 /regex/new-fail/86 649s ok 101 /regex/new-fail/87 649s ok 102 /regex/new-fail/88 649s ok 103 /regex/new-fail/89 649s ok 104 /regex/new-fail/90 649s ok 105 /regex/new-fail/91 649s # End of new-fail tests 649s # Start of match-simple tests 649s ok 106 /regex/match-simple/92 649s ok 107 /regex/match-simple/93 649s ok 108 /regex/match-simple/94 649s ok 109 /regex/match-simple/95 649s ok 110 /regex/match-simple/96 649s ok 111 /regex/match-simple/97 649s ok 112 /regex/match-simple/98 649s ok 113 /regex/match-simple/99 649s ok 114 /regex/match-simple/100 649s ok 115 /regex/match-simple/101 649s ok 116 /regex/match-simple/102 649s ok 117 /regex/match-simple/103 649s ok 118 /regex/match-simple/104 649s ok 119 /regex/match-simple/105 649s ok 120 /regex/match-simple/106 649s ok 121 /regex/match-simple/107 649s ok 122 /regex/match-simple/108 649s ok 123 /regex/match-simple/109 649s ok 124 /regex/match-simple/110 649s ok 125 /regex/match-simple/111 649s ok 126 /regex/match-simple/112 649s ok 127 /regex/match-simple/113 649s ok 128 /regex/match-simple/114 649s ok 129 /regex/match-simple/115 649s ok 130 /regex/match-simple/116 649s ok 131 /regex/match-simple/117 649s ok 132 /regex/match-simple/118 649s ok 133 /regex/match-simple/119 649s ok 134 /regex/match-simple/120 649s ok 135 /regex/match-simple/121 649s ok 136 /regex/match-simple/122 649s ok 137 /regex/match-simple/123 649s ok 138 /regex/match-simple/124 649s ok 139 /regex/match-simple/125 649s ok 140 /regex/match-simple/126 649s ok 141 /regex/match-simple/127 649s ok 142 /regex/match-simple/128 649s ok 143 /regex/match-simple/129 649s ok 144 /regex/match-simple/130 649s ok 145 /regex/match-simple/131 649s ok 146 /regex/match-simple/132 649s ok 147 /regex/match-simple/133 649s ok 148 /regex/match-simple/134 649s ok 149 /regex/match-simple/135 649s ok 150 /regex/match-simple/136 649s ok 151 /regex/match-simple/137 649s ok 152 /regex/match-simple/138 649s ok 153 /regex/match-simple/139 649s ok 154 /regex/match-simple/140 649s ok 155 /regex/match-simple/141 649s ok 156 /regex/match-simple/142 649s ok 157 /regex/match-simple/143 649s ok 158 /regex/match-simple/144 649s ok 159 /regex/match-simple/145 649s ok 160 /regex/match-simple/146 649s ok 161 /regex/match-simple/147 649s ok 162 /regex/match-simple/148 649s ok 163 /regex/match-simple/149 649s ok 164 /regex/match-simple/150 649s ok 165 /regex/match-simple/151 649s ok 166 /regex/match-simple/152 649s ok 167 /regex/match-simple/153 649s ok 168 /regex/match-simple/154 649s ok 169 /regex/match-simple/155 649s ok 170 /regex/match-simple/156 649s ok 171 /regex/match-simple/157 649s ok 172 /regex/match-simple/158 649s ok 173 /regex/match-simple/159 649s ok 174 /regex/match-simple/160 649s ok 175 /regex/match-simple/161 649s ok 176 /regex/match-simple/162 649s ok 177 /regex/match-simple/163 649s ok 178 /regex/match-simple/164 649s # End of match-simple tests 649s # Start of match-simple-optimized tests 649s ok 179 /regex/match-simple-optimized/92 649s ok 180 /regex/match-simple-optimized/93 649s ok 181 /regex/match-simple-optimized/94 649s ok 182 /regex/match-simple-optimized/95 649s ok 183 /regex/match-simple-optimized/96 649s ok 184 /regex/match-simple-optimized/97 649s ok 185 /regex/match-simple-optimized/98 649s ok 186 /regex/match-simple-optimized/99 649s ok 187 /regex/match-simple-optimized/100 649s ok 188 /regex/match-simple-optimized/101 649s ok 189 /regex/match-simple-optimized/102 649s ok 190 /regex/match-simple-optimized/103 649s ok 191 /regex/match-simple-optimized/104 649s ok 192 /regex/match-simple-optimized/105 649s ok 193 /regex/match-simple-optimized/106 649s ok 194 /regex/match-simple-optimized/107 649s ok 195 /regex/match-simple-optimized/108 649s ok 196 /regex/match-simple-optimized/109 649s ok 197 /regex/match-simple-optimized/110 649s ok 198 /regex/match-simple-optimized/111 649s ok 199 /regex/match-simple-optimized/112 649s ok 200 /regex/match-simple-optimized/113 649s ok 201 /regex/match-simple-optimized/114 649s ok 202 /regex/match-simple-optimized/115 649s ok 203 /regex/match-simple-optimized/116 649s ok 204 /regex/match-simple-optimized/117 649s ok 205 /regex/match-simple-optimized/118 649s ok 206 /regex/match-simple-optimized/119 649s ok 207 /regex/match-simple-optimized/120 649s ok 208 /regex/match-simple-optimized/121 649s ok 209 /regex/match-simple-optimized/122 649s ok 210 /regex/match-simple-optimized/123 649s ok 211 /regex/match-simple-optimized/124 649s ok 212 /regex/match-simple-optimized/125 649s ok 213 /regex/match-simple-optimized/126 649s ok 214 /regex/match-simple-optimized/127 649s ok 215 /regex/match-simple-optimized/128 649s ok 216 /regex/match-simple-optimized/129 649s ok 217 /regex/match-simple-optimized/130 649s ok 218 /regex/match-simple-optimized/131 649s ok 219 /regex/match-simple-optimized/132 649s ok 220 /regex/match-simple-optimized/133 649s ok 221 /regex/match-simple-optimized/134 649s ok 222 /regex/match-simple-optimized/135 649s ok 223 /regex/match-simple-optimized/136 649s ok 224 /regex/match-simple-optimized/137 649s ok 225 /regex/match-simple-optimized/138 649s ok 226 /regex/match-simple-optimized/139 649s ok 227 /regex/match-simple-optimized/140 649s ok 228 /regex/match-simple-optimized/141 649s ok 229 /regex/match-simple-optimized/142 649s ok 230 /regex/match-simple-optimized/143 649s ok 231 /regex/match-simple-optimized/144 649s ok 232 /regex/match-simple-optimized/145 649s ok 233 /regex/match-simple-optimized/146 649s ok 234 /regex/match-simple-optimized/147 649s ok 235 /regex/match-simple-optimized/148 649s ok 236 /regex/match-simple-optimized/149 649s ok 237 /regex/match-simple-optimized/150 649s ok 238 /regex/match-simple-optimized/151 649s ok 239 /regex/match-simple-optimized/152 649s ok 240 /regex/match-simple-optimized/153 649s ok 241 /regex/match-simple-optimized/154 649s ok 242 /regex/match-simple-optimized/155 649s ok 243 /regex/match-simple-optimized/156 649s ok 244 /regex/match-simple-optimized/157 649s ok 245 /regex/match-simple-optimized/158 649s ok 246 /regex/match-simple-optimized/159 649s ok 247 /regex/match-simple-optimized/160 649s ok 248 /regex/match-simple-optimized/161 649s ok 249 /regex/match-simple-optimized/162 649s ok 250 /regex/match-simple-optimized/163 649s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 649s ok 251 /regex/match-simple-optimized/164 649s # End of match-simple-optimized tests 649s # Start of match tests 649s ok 252 /regex/match/165 649s ok 253 /regex/match/166 649s ok 254 /regex/match/167 649s ok 255 /regex/match/168 649s ok 256 /regex/match/169 649s ok 257 /regex/match/170 649s ok 258 /regex/match/171 649s ok 259 /regex/match/172 649s ok 260 /regex/match/173 649s ok 261 /regex/match/174 649s ok 262 /regex/match/175 649s ok 263 /regex/match/176 649s ok 264 /regex/match/177 649s ok 265 /regex/match/178 649s ok 266 /regex/match/179 649s ok 267 /regex/match/180 649s ok 268 /regex/match/181 649s ok 269 /regex/match/182 649s ok 270 /regex/match/183 649s ok 271 /regex/match/184 649s ok 272 /regex/match/185 649s ok 273 /regex/match/186 649s ok 274 /regex/match/187 649s ok 275 /regex/match/188 649s ok 276 /regex/match/189 649s ok 277 /regex/match/190 649s ok 278 /regex/match/191 649s ok 279 /regex/match/192 649s ok 280 /regex/match/193 649s ok 281 /regex/match/194 649s ok 282 /regex/match/195 649s ok 283 /regex/match/196 649s ok 284 /regex/match/197 649s ok 285 /regex/match/198 649s ok 286 /regex/match/199 649s ok 287 /regex/match/200 649s ok 288 /regex/match/201 649s ok 289 /regex/match/202 649s ok 290 /regex/match/203 649s ok 291 /regex/match/204 649s ok 292 /regex/match/205 649s ok 293 /regex/match/206 649s ok 294 /regex/match/207 649s ok 295 /regex/match/208 649s ok 296 /regex/match/209 649s ok 297 /regex/match/210 649s ok 298 /regex/match/211 649s ok 299 /regex/match/212 649s ok 300 /regex/match/213 649s ok 301 /regex/match/214 649s ok 302 /regex/match/215 649s ok 303 /regex/match/216 649s ok 304 /regex/match/217 649s ok 305 /regex/match/218 649s ok 306 /regex/match/219 649s ok 307 /regex/match/220 649s ok 308 /regex/match/221 649s ok 309 /regex/match/222 649s ok 310 /regex/match/223 649s ok 311 /regex/match/224 649s ok 312 /regex/match/225 649s ok 313 /regex/match/226 649s ok 314 /regex/match/227 649s ok 315 /regex/match/228 649s ok 316 /regex/match/229 649s ok 317 /regex/match/230 649s ok 318 /regex/match/231 649s ok 319 /regex/match/232 649s ok 320 /regex/match/233 649s ok 321 /regex/match/234 649s ok 322 /regex/match/235 649s ok 323 /regex/match/236 649s ok 324 /regex/match/237 649s ok 325 /regex/match/238 649s ok 326 /regex/match/239 649s ok 327 /regex/match/240 649s ok 328 /regex/match/241 649s ok 329 /regex/match/242 649s ok 330 /regex/match/243 649s ok 331 /regex/match/244 649s ok 332 /regex/match/245 649s ok 333 /regex/match/246 649s ok 334 /regex/match/partial281 649s ok 335 /regex/match/partial282 649s ok 336 /regex/match/partial283 649s ok 337 /regex/match/partial284 649s ok 338 /regex/match/partial285 649s ok 339 /regex/match/partial286 649s ok 340 /regex/match/partial287 649s ok 341 /regex/match/partial288 649s ok 342 /regex/match/partial289 649s ok 343 /regex/match/partial290 649s ok 344 /regex/match/partial291 649s ok 345 /regex/match/partial292 649s ok 346 /regex/match/partial293 649s ok 347 /regex/match/partial294 649s ok 348 /regex/match/partial295 649s ok 349 /regex/match/partial296 649s ok 350 /regex/match/partial297 649s ok 351 /regex/match/partial298 649s ok 352 /regex/match/partial299 649s ok 353 /regex/match/partial300 649s ok 354 /regex/match/partial301 649s ok 355 /regex/match/partial302 649s # Start of next0 tests 649s ok 356 /regex/match/next0/247 649s ok 357 /regex/match/next0/248 649s ok 358 /regex/match/next0/249 649s ok 359 /regex/match/next0/250 649s # End of next0 tests 649s # Start of next1 tests 649s ok 360 /regex/match/next1/251 649s ok 361 /regex/match/next1/252 649s ok 362 /regex/match/next1/253 649s ok 363 /regex/match/next1/254 649s ok 364 /regex/match/next1/255 649s # End of next1 tests 649s # Start of next2 tests 649s ok 365 /regex/match/next2/256 649s ok 366 /regex/match/next2/257 649s ok 367 /regex/match/next2/258 649s ok 368 /regex/match/next2/259 649s ok 369 /regex/match/next2/260 649s ok 370 /regex/match/next2/261 649s ok 371 /regex/match/next2/262 649s ok 372 /regex/match/next2/263 649s # End of next2 tests 649s # Start of next3 tests 649s ok 373 /regex/match/next3/264 649s ok 374 /regex/match/next3/265 649s ok 375 /regex/match/next3/266 649s ok 376 /regex/match/next3/267 649s ok 377 /regex/match/next3/268 649s ok 378 /regex/match/next3/269 649s # End of next3 tests 649s # Start of next4 tests 649s ok 379 /regex/match/next4/270 649s # End of next4 tests 649s # Start of count tests 649s ok 380 /regex/match/count/271 649s ok 381 /regex/match/count/272 649s ok 382 /regex/match/count/273 649s ok 383 /regex/match/count/274 649s ok 384 /regex/match/count/275 649s ok 385 /regex/match/count/276 649s ok 386 /regex/match/count/277 649s ok 387 /regex/match/count/278 649s ok 388 /regex/match/count/279 649s ok 389 /regex/match/count/280 649s # End of count tests 649s # Start of count-optimized tests 649s ok 390 /regex/match/count-optimized/271 649s ok 391 /regex/match/count-optimized/272 649s ok 392 /regex/match/count-optimized/273 649s ok 393 /regex/match/count-optimized/274 649s ok 394 /regex/match/count-optimized/275 649s ok 395 /regex/match/count-optimized/276 649s ok 396 /regex/match/count-optimized/277 649s ok 397 /regex/match/count-optimized/278 649s ok 398 /regex/match/count-optimized/279 649s ok 399 /regex/match/count-optimized/280 649s # End of count-optimized tests 649s # Start of partial-optimized tests 649s ok 400 /regex/match/partial-optimized/281 649s ok 401 /regex/match/partial-optimized/282 649s ok 402 /regex/match/partial-optimized/283 649s ok 403 /regex/match/partial-optimized/284 649s ok 404 /regex/match/partial-optimized/285 649s ok 405 /regex/match/partial-optimized/286 649s ok 406 /regex/match/partial-optimized/287 649s ok 407 /regex/match/partial-optimized/288 649s ok 408 /regex/match/partial-optimized/289 649s ok 409 /regex/match/partial-optimized/290 649s ok 410 /regex/match/partial-optimized/291 649s ok 411 /regex/match/partial-optimized/292 649s ok 412 /regex/match/partial-optimized/293 649s ok 413 /regex/match/partial-optimized/294 649s ok 414 /regex/match/partial-optimized/295 649s ok 415 /regex/match/partial-optimized/296 649s ok 416 /regex/match/partial-optimized/297 649s ok 417 /regex/match/partial-optimized/298 649s ok 418 /regex/match/partial-optimized/299 649s ok 419 /regex/match/partial-optimized/300 649s ok 420 /regex/match/partial-optimized/301 649s ok 421 /regex/match/partial-optimized/302 649s # End of partial-optimized tests 649s # Start of subpattern tests 649s ok 422 /regex/match/subpattern/303 649s ok 423 /regex/match/subpattern/304 649s ok 424 /regex/match/subpattern/305 649s ok 425 /regex/match/subpattern/306 649s ok 426 /regex/match/subpattern/307 649s ok 427 /regex/match/subpattern/308 649s ok 428 /regex/match/subpattern/309 649s ok 429 /regex/match/subpattern/310 649s ok 430 /regex/match/subpattern/311 649s ok 431 /regex/match/subpattern/312 649s ok 432 /regex/match/subpattern/313 649s ok 433 /regex/match/subpattern/314 649s ok 434 /regex/match/subpattern/315 649s # Start of named tests 649s # Start of dupnames tests 649s ok 435 /regex/match/subpattern/named/dupnames/325 649s ok 436 /regex/match/subpattern/named/dupnames/326 649s ok 437 /regex/match/subpattern/named/dupnames/327 649s ok 438 /regex/match/subpattern/named/dupnames/328 649s ok 439 /regex/match/subpattern/named/dupnames/329 649s # End of dupnames tests 649s # End of named tests 649s # End of subpattern tests 649s # Start of subpattern-optimized tests 649s ok 440 /regex/match/subpattern-optimized/303 649s ok 441 /regex/match/subpattern-optimized/304 649s ok 442 /regex/match/subpattern-optimized/305 649s ok 443 /regex/match/subpattern-optimized/306 649s ok 444 /regex/match/subpattern-optimized/307 649s ok 445 /regex/match/subpattern-optimized/308 649s ok 446 /regex/match/subpattern-optimized/309 649s ok 447 /regex/match/subpattern-optimized/310 649s ok 448 /regex/match/subpattern-optimized/311 649s ok 449 /regex/match/subpattern-optimized/312 649s ok 450 /regex/match/subpattern-optimized/313 649s ok 451 /regex/match/subpattern-optimized/314 649s ok 452 /regex/match/subpattern-optimized/315 649s # End of subpattern-optimized tests 649s # Start of named tests 649s # Start of subpattern tests 649s ok 453 /regex/match/named/subpattern/316 649s ok 454 /regex/match/named/subpattern/317 649s ok 455 /regex/match/named/subpattern/318 649s ok 456 /regex/match/named/subpattern/319 649s ok 457 /regex/match/named/subpattern/320 649s ok 458 /regex/match/named/subpattern/321 649s ok 459 /regex/match/named/subpattern/322 649s ok 460 /regex/match/named/subpattern/323 649s ok 461 /regex/match/named/subpattern/324 649s ok 462 /regex/match/named/subpattern/330 649s ok 463 /regex/match/named/subpattern/331 649s ok 464 /regex/match/named/subpattern/332 649s ok 465 /regex/match/named/subpattern/333 649s ok 466 /regex/match/named/subpattern/334 649s # End of subpattern tests 649s # End of named tests 649s # End of match tests 649s # Start of match-optimized tests 649s ok 467 /regex/match-optimized/165 649s ok 468 /regex/match-optimized/166 649s ok 469 /regex/match-optimized/167 649s ok 470 /regex/match-optimized/168 649s ok 471 /regex/match-optimized/169 649s ok 472 /regex/match-optimized/170 649s ok 473 /regex/match-optimized/171 649s ok 474 /regex/match-optimized/172 649s ok 475 /regex/match-optimized/173 649s ok 476 /regex/match-optimized/174 649s ok 477 /regex/match-optimized/175 649s ok 478 /regex/match-optimized/176 649s ok 479 /regex/match-optimized/177 649s ok 480 /regex/match-optimized/178 649s ok 481 /regex/match-optimized/179 649s ok 482 /regex/match-optimized/180 649s ok 483 /regex/match-optimized/181 649s ok 484 /regex/match-optimized/182 649s ok 485 /regex/match-optimized/183 649s ok 486 /regex/match-optimized/184 649s ok 487 /regex/match-optimized/185 649s ok 488 /regex/match-optimized/186 649s ok 489 /regex/match-optimized/187 649s ok 490 /regex/match-optimized/188 649s ok 491 /regex/match-optimized/189 649s ok 492 /regex/match-optimized/190 649s ok 493 /regex/match-optimized/191 649s ok 494 /regex/match-optimized/192 649s ok 495 /regex/match-optimized/193 649s ok 496 /regex/match-optimized/194 649s ok 497 /regex/match-optimized/195 649s ok 498 /regex/match-optimized/196 649s ok 499 /regex/match-optimized/197 649s ok 500 /regex/match-optimized/198 649s ok 501 /regex/match-optimized/199 649s ok 502 /regex/match-optimized/200 649s ok 503 /regex/match-optimized/201 649s ok 504 /regex/match-optimized/202 649s ok 505 /regex/match-optimized/203 649s ok 506 /regex/match-optimized/204 649s ok 507 /regex/match-optimized/205 649s ok 508 /regex/match-optimized/206 649s ok 509 /regex/match-optimized/207 649s ok 510 /regex/match-optimized/208 649s ok 511 /regex/match-optimized/209 649s ok 512 /regex/match-optimized/210 649s ok 513 /regex/match-optimized/211 649s ok 514 /regex/match-optimized/212 649s ok 515 /regex/match-optimized/213 649s ok 516 /regex/match-optimized/214 649s ok 517 /regex/match-optimized/215 649s ok 518 /regex/match-optimized/216 649s ok 519 /regex/match-optimized/217 649s ok 520 /regex/match-optimized/218 649s ok 521 /regex/match-optimized/219 649s ok 522 /regex/match-optimized/220 649s ok 523 /regex/match-optimized/221 649s ok 524 /regex/match-optimized/222 649s ok 525 /regex/match-optimized/223 649s ok 526 /regex/match-optimized/224 649s ok 527 /regex/match-optimized/225 649s ok 528 /regex/match-optimized/226 649s ok 529 /regex/match-optimized/227 649s ok 530 /regex/match-optimized/228 649s ok 531 /regex/match-optimized/229 649s ok 532 /regex/match-optimized/230 649s ok 533 /regex/match-optimized/231 649s ok 534 /regex/match-optimized/232 649s ok 535 /regex/match-optimized/233 649s ok 536 /regex/match-optimized/234 649s ok 537 /regex/match-optimized/235 649s ok 538 /regex/match-optimized/236 649s ok 539 /regex/match-optimized/237 649s ok 540 /regex/match-optimized/238 649s ok 541 /regex/match-optimized/239 649s ok 542 /regex/match-optimized/240 649s ok 543 /regex/match-optimized/241 649s ok 544 /regex/match-optimized/242 649s ok 545 /regex/match-optimized/243 649s ok 546 /regex/match-optimized/244 649s ok 547 /regex/match-optimized/245 649s ok 548 /regex/match-optimized/246 649s # End of match-optimized tests 649s # Start of fetch-all0 tests 649s ok 549 /regex/fetch-all0/335 649s ok 550 /regex/fetch-all0/336 649s # End of fetch-all0 tests 649s # Start of fetch-all1 tests 649s ok 551 /regex/fetch-all1/337 649s ok 552 /regex/fetch-all1/338 649s ok 553 /regex/fetch-all1/339 649s # End of fetch-all1 tests 649s # Start of fetch-all2 tests 649s ok 554 /regex/fetch-all2/340 649s ok 555 /regex/fetch-all2/341 649s ok 556 /regex/fetch-all2/342 649s # End of fetch-all2 tests 649s # Start of fetch-all3 tests 649s ok 557 /regex/fetch-all3/343 649s ok 558 /regex/fetch-all3/344 649s ok 559 /regex/fetch-all3/345 649s ok 560 /regex/fetch-all3/346 649s ok 561 /regex/fetch-all3/347 649s # End of fetch-all3 tests 649s # Start of split tests 649s # Start of simple0 tests 649s ok 562 /regex/split/simple0/348 649s ok 563 /regex/split/simple0/349 649s ok 564 /regex/split/simple0/364 649s ok 565 /regex/split/simple0/365 649s # End of simple0 tests 649s # Start of simple1 tests 649s ok 566 /regex/split/simple1/350 649s ok 567 /regex/split/simple1/351 649s # End of simple1 tests 649s # Start of simple2 tests 649s ok 568 /regex/split/simple2/352 649s ok 569 /regex/split/simple2/358 649s ok 570 /regex/split/simple2/360 649s # End of simple2 tests 649s # Start of simple3 tests 649s ok 571 /regex/split/simple3/353 649s ok 572 /regex/split/simple3/354 649s ok 573 /regex/split/simple3/355 649s ok 574 /regex/split/simple3/356 649s ok 575 /regex/split/simple3/357 649s ok 576 /regex/split/simple3/359 649s ok 577 /regex/split/simple3/361 649s ok 578 /regex/split/simple3/362 649s ok 579 /regex/split/simple3/363 649s # End of simple3 tests 649s # End of split tests 649s # Start of split0 tests 649s ok 580 /regex/split0/366 649s ok 581 /regex/split0/368 649s # End of split0 tests 649s # Start of full-split0 tests 649s ok 582 /regex/full-split0/367 649s ok 583 /regex/full-split0/369 649s ok 584 /regex/full-split0/370 649s ok 585 /regex/full-split0/371 649s ok 586 /regex/full-split0/372 649s # End of full-split0 tests 649s # Start of split1 tests 649s ok 587 /regex/split1/373 649s ok 588 /regex/split1/376 649s # End of split1 tests 649s # Start of full-split1 tests 649s ok 589 /regex/full-split1/374 649s ok 590 /regex/full-split1/375 649s ok 591 /regex/full-split1/377 649s ok 592 /regex/full-split1/378 649s ok 593 /regex/full-split1/404 649s # End of full-split1 tests 649s # Start of split2 tests 649s ok 594 /regex/split2/379 649s ok 595 /regex/split2/383 649s ok 596 /regex/split2/395 649s # End of split2 tests 649s # Start of full-split2 tests 649s ok 597 /regex/full-split2/380 649s ok 598 /regex/full-split2/381 649s ok 599 /regex/full-split2/382 649s ok 600 /regex/full-split2/384 649s ok 601 /regex/full-split2/396 649s ok 602 /regex/full-split2/399 649s ok 603 /regex/full-split2/405 649s # End of full-split2 tests 649s # Start of split3 tests 649s ok 604 /regex/split3/385 649s ok 605 /regex/split3/387 649s ok 606 /regex/split3/389 649s ok 607 /regex/split3/391 649s ok 608 /regex/split3/393 649s ok 609 /regex/split3/397 649s ok 610 /regex/split3/400 649s ok 611 /regex/split3/402 649s # End of split3 tests 649s # Start of full-split3 tests 649s ok 612 /regex/full-split3/386 649s ok 613 /regex/full-split3/388 649s ok 614 /regex/full-split3/390 649s ok 615 /regex/full-split3/392 649s ok 616 /regex/full-split3/394 649s ok 617 /regex/full-split3/398 649s ok 618 /regex/full-split3/401 649s ok 619 /regex/full-split3/403 649s ok 620 /regex/full-split3/406 649s ok 621 /regex/full-split3/407 649s # End of full-split3 tests 649s # Start of check-repacement tests 649s ok 622 /regex/check-repacement/408 649s ok 623 /regex/check-repacement/409 649s ok 624 /regex/check-repacement/410 649s ok 625 /regex/check-repacement/411 649s ok 626 /regex/check-repacement/412 649s ok 627 /regex/check-repacement/413 649s ok 628 /regex/check-repacement/414 649s ok 629 /regex/check-repacement/415 649s # End of check-repacement tests 649s # Start of expand tests 649s ok 630 /regex/expand/416 649s ok 631 /regex/expand/417 649s ok 632 /regex/expand/418 649s ok 633 /regex/expand/419 649s ok 634 /regex/expand/420 649s ok 635 /regex/expand/421 649s ok 636 /regex/expand/422 649s ok 637 /regex/expand/423 649s ok 638 /regex/expand/424 649s ok 639 /regex/expand/425 649s ok 640 /regex/expand/426 649s ok 641 /regex/expand/427 649s ok 642 /regex/expand/428 649s ok 643 /regex/expand/429 649s ok 644 /regex/expand/430 649s ok 645 /regex/expand/431 649s ok 646 /regex/expand/432 649s ok 647 /regex/expand/433 649s ok 648 /regex/expand/434 649s ok 649 /regex/expand/435 649s ok 650 /regex/expand/436 649s ok 651 /regex/expand/437 649s ok 652 /regex/expand/438 649s ok 653 /regex/expand/439 649s ok 654 /regex/expand/440 649s ok 655 /regex/expand/441 649s ok 656 /regex/expand/442 649s ok 657 /regex/expand/443 649s ok 658 /regex/expand/444 649s ok 659 /regex/expand/445 649s ok 660 /regex/expand/446 649s ok 661 /regex/expand/447 649s ok 662 /regex/expand/448 649s ok 663 /regex/expand/449 649s ok 664 /regex/expand/450 649s ok 665 /regex/expand/451 649s ok 666 /regex/expand/452 649s ok 667 /regex/expand/453 649s ok 668 /regex/expand/454 649s ok 669 /regex/expand/455 649s ok 670 /regex/expand/456 649s ok 671 /regex/expand/457 649s ok 672 /regex/expand/458 649s ok 673 /regex/expand/459 649s ok 674 /regex/expand/460 649s ok 675 /regex/expand/461 649s ok 676 /regex/expand/462 649s ok 677 /regex/expand/463 649s ok 678 /regex/expand/464 649s ok 679 /regex/expand/465 649s ok 680 /regex/expand/466 649s ok 681 /regex/expand/467 649s ok 682 /regex/expand/468 649s ok 683 /regex/expand/469 649s ok 684 /regex/expand/470 649s ok 685 /regex/expand/471 649s ok 686 /regex/expand/472 649s ok 687 /regex/expand/473 649s ok 688 /regex/expand/474 649s ok 689 /regex/expand/475 649s ok 690 /regex/expand/476 649s ok 691 /regex/expand/477 649s ok 692 /regex/expand/478 649s ok 693 /regex/expand/479 649s ok 694 /regex/expand/480 649s ok 695 /regex/expand/481 649s # End of expand tests 649s # Start of replace tests 649s ok 696 /regex/replace/482 649s ok 697 /regex/replace/483 649s ok 698 /regex/replace/484 649s ok 699 /regex/replace/485 649s ok 700 /regex/replace/486 649s ok 701 /regex/replace/487 649s ok 702 /regex/replace/488 649s ok 703 /regex/replace/489 649s ok 704 /regex/replace/490 649s ok 705 /regex/replace/491 649s ok 706 /regex/replace/492 649s ok 707 /regex/replace/493 649s ok 708 /regex/replace/494 649s ok 709 /regex/replace/495 649s ok 710 /regex/replace/496 649s ok 711 /regex/replace/497 649s ok 712 /regex/replace/498 649s ok 713 /regex/replace/499 649s ok 714 /regex/replace/500 649s ok 715 /regex/replace/501 649s ok 716 /regex/replace/502 649s ok 717 /regex/replace/503 649s ok 718 /regex/replace/504 649s ok 719 /regex/replace/505 649s ok 720 /regex/replace/506 649s ok 721 /regex/replace/507 649s ok 722 /regex/replace/508 649s ok 723 /regex/replace/509 649s # End of replace tests 649s # Start of replace-optimized tests 649s ok 724 /regex/replace-optimized/482 649s ok 725 /regex/replace-optimized/483 649s ok 726 /regex/replace-optimized/484 649s ok 727 /regex/replace-optimized/485 649s ok 728 /regex/replace-optimized/486 649s ok 729 /regex/replace-optimized/487 649s ok 730 /regex/replace-optimized/488 649s ok 731 /regex/replace-optimized/489 649s ok 732 /regex/replace-optimized/490 649s ok 733 /regex/replace-optimized/491 649s ok 734 /regex/replace-optimized/492 649s ok 735 /regex/replace-optimized/493 649s ok 736 /regex/replace-optimized/494 649s ok 737 /regex/replace-optimized/495 649s ok 738 /regex/replace-optimized/496 649s ok 739 /regex/replace-optimized/497 649s ok 740 /regex/replace-optimized/498 649s ok 741 /regex/replace-optimized/499 649s ok 742 /regex/replace-optimized/500 649s ok 743 /regex/replace-optimized/501 649s ok 744 /regex/replace-optimized/502 649s ok 745 /regex/replace-optimized/503 649s ok 746 /regex/replace-optimized/504 649s ok 747 /regex/replace-optimized/505 649s ok 748 /regex/replace-optimized/506 649s ok 749 /regex/replace-optimized/507 649s ok 750 /regex/replace-optimized/508 649s ok 751 /regex/replace-optimized/509 649s # End of replace-optimized tests 649s # Start of replace-literally tests 649s ok 752 /regex/replace-literally/510 649s ok 753 /regex/replace-literally/511 649s ok 754 /regex/replace-literally/512 649s ok 755 /regex/replace-literally/513 649s ok 756 /regex/replace-literally/514 649s ok 757 /regex/replace-literally/515 649s ok 758 /regex/replace-literally/516 649s ok 759 /regex/replace-literally/517 649s ok 760 /regex/replace-literally/518 649s ok 761 /regex/replace-literally/519 649s ok 762 /regex/replace-literally/520 649s ok 763 /regex/replace-literally/521 649s ok 764 /regex/replace-literally/522 649s ok 765 /regex/replace-literally/523 649s ok 766 /regex/replace-literally/524 649s ok 767 /regex/replace-literally/525 649s ok 768 /regex/replace-literally/526 649s ok 769 /regex/replace-literally/527 649s ok 770 /regex/replace-literally/528 649s ok 771 /regex/replace-literally/529 649s # End of replace-literally tests 649s # Start of string-number tests 649s ok 772 /regex/string-number/530 649s ok 773 /regex/string-number/531 649s ok 774 /regex/string-number/532 649s ok 775 /regex/string-number/533 649s ok 776 /regex/string-number/534 649s ok 777 /regex/string-number/535 649s ok 778 /regex/string-number/536 649s ok 779 /regex/string-number/537 649s ok 780 /regex/string-number/538 649s ok 781 /regex/string-number/539 649s ok 782 /regex/string-number/540 649s ok 783 /regex/string-number/541 649s ok 784 /regex/string-number/542 649s ok 785 /regex/string-number/543 649s ok 786 /regex/string-number/544 649s # End of string-number tests 649s # Start of escape_nul tests 649s ok 787 /regex/escape_nul/545 649s ok 788 /regex/escape_nul/546 649s ok 789 /regex/escape_nul/547 649s ok 790 /regex/escape_nul/548 649s ok 791 /regex/escape_nul/549 649s ok 792 /regex/escape_nul/550 649s ok 793 /regex/escape_nul/551 649s ok 794 /regex/escape_nul/552 649s ok 795 /regex/escape_nul/553 649s ok 796 /regex/escape_nul/554 649s ok 797 /regex/escape_nul/555 649s ok 798 /regex/escape_nul/556 649s ok 799 /regex/escape_nul/557 649s ok 800 /regex/escape_nul/558 649s ok 801 /regex/escape_nul/559 649s # End of escape_nul tests 649s # Start of escape tests 649s ok 802 /regex/escape/560 649s ok 803 /regex/escape/561 649s ok 804 /regex/escape/562 649s ok 805 /regex/escape/563 649s ok 806 /regex/escape/564 649s ok 807 /regex/escape/565 649s ok 808 /regex/escape/566 649s ok 809 /regex/escape/567 649s ok 810 /regex/escape/568 649s ok 811 /regex/escape/569 649s ok 812 /regex/escape/570 649s ok 813 /regex/escape/571 649s ok 814 /regex/escape/572 649s ok 815 /regex/escape/573 649s ok 816 /regex/escape/574 649s ok 817 /regex/escape/575 649s ok 818 /regex/escape/576 649s ok 819 /regex/escape/577 649s # End of escape tests 649s # Start of match-all0 tests 649s ok 820 /regex/match-all0/578 649s ok 821 /regex/match-all0/580 649s # End of match-all0 tests 649s # Start of match-all-full0 tests 649s ok 822 /regex/match-all-full0/579 649s ok 823 /regex/match-all-full0/581 649s ok 824 /regex/match-all-full0/582 649s ok 825 /regex/match-all-full0/583 649s # End of match-all-full0 tests 649s # Start of match-all1 tests 649s ok 826 /regex/match-all1/584 649s ok 827 /regex/match-all1/586 649s ok 828 /regex/match-all1/591 649s # End of match-all1 tests 649s # Start of match-all-full1 tests 649s ok 829 /regex/match-all-full1/585 649s ok 830 /regex/match-all-full1/587 649s ok 831 /regex/match-all-full1/588 649s ok 832 /regex/match-all-full1/589 649s ok 833 /regex/match-all-full1/590 649s ok 834 /regex/match-all-full1/592 649s # End of match-all-full1 tests 649s # Start of match-all2 tests 649s ok 835 /regex/match-all2/593 649s ok 836 /regex/match-all2/595 649s ok 837 /regex/match-all2/597 649s # End of match-all2 tests 649s # Start of match-all-full2 tests 649s ok 838 /regex/match-all-full2/594 649s ok 839 /regex/match-all-full2/596 649s ok 840 /regex/match-all-full2/598 649s # End of match-all-full2 tests 649s # Start of match-all3 tests 649s ok 841 /regex/match-all3/599 649s ok 842 /regex/match-all3/601 649s # End of match-all3 tests 649s # Start of match-all-full3 tests 649s ok 843 /regex/match-all-full3/600 649s ok 844 /regex/match-all-full3/602 649s # End of match-all-full3 tests 649s # Start of match-notempty tests 649s ok 845 /regex/match-notempty/603 649s # End of match-notempty tests 649s # Start of match-notempty-optimized tests 649s ok 846 /regex/match-notempty-optimized/603 649s # End of match-notempty-optimized tests 649s # Start of match-notempty-atstart tests 649s ok 847 /regex/match-notempty-atstart/604 649s # End of match-notempty-atstart tests 649s # Start of match-notempty-atstart-optimized tests 649s ok 848 /regex/match-notempty-atstart-optimized/604 649s # End of match-notempty-atstart-optimized tests 649s # End of regex tests 649s ok - glib/regex.test 649s # Running test: glib/buffered-output-stream.test 649s TAP version 14 649s # random seed: R02Sfdedca401c7d81ff70b0cdaadb1e43bf 649s 1..5 649s # Start of buffered-output-stream tests 649s ok 1 /buffered-output-stream/write 649s ok 2 /buffered-output-stream/grow 649s ok 3 /buffered-output-stream/seek 649s ok 4 /buffered-output-stream/truncate 649s # End of buffered-output-stream tests 649s # Start of filter-output-stream tests 649s ok 5 /filter-output-stream/close 649s # End of filter-output-stream tests 649s ok - glib/buffered-output-stream.test 649s # Running test: glib/null-settings-backend.test 649s TAP version 14 649s # random seed: R02Sa60f7d1938d525cfda54e96fd5faef68 649s 1..1 649s # Start of null-settings-backend tests 649s ok 1 /null-settings-backend/extension-point-registered 649s # End of null-settings-backend tests 649s ok - glib/null-settings-backend.test 649s # Running test: glib/task.test 649s TAP version 14 649s # random seed: R02S5f6c1643c8da7ce682f2a6f9d82673e4 649s 1..36 649s # Start of gtask tests 649s ok 1 /gtask/basic 649s ok 2 /gtask/error 649s ok 3 /gtask/error-literal 649s ok 4 /gtask/error-literal-from-variable 649s ok 5 /gtask/return-from-same-iteration 649s ok 6 /gtask/return-from-toplevel 649s ok 7 /gtask/return-from-anon-thread 649s ok 8 /gtask/return-from-wrong-thread 649s ok 9 /gtask/no-callback 649s ok 10 /gtask/report-error 649s ok 11 /gtask/priority 649s ok 12 /gtask/name 649s ok 13 /gtask/static-name 649s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 649s ok 14 /gtask/asynchronous-cancellation 649s ok 15 /gtask/check-cancellable 649s ok 16 /gtask/return-if-cancelled 649s ok 17 /gtask/run-in-thread 649s ok 18 /gtask/run-in-thread-sync 649s ok 19 /gtask/run-in-thread-priority 649s ok 20 /gtask/run-in-thread-nested 650s ok 21 /gtask/run-in-thread-overflow 650s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 650s # GLib-GIO-DEBUG: GTask 0x2aa21a49630 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 650s # GLib-GIO-DEBUG: GTask 0x2aa21a48fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 650s ok 22 /gtask/return-on-cancel 650s # GLib-GIO-DEBUG: GTask 0x2aa21a48eb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 650s ok 23 /gtask/return-on-cancel-sync 650s # GLib-GIO-DEBUG: GTask 0x2aa21a48db0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 650s ok 24 /gtask/return-on-cancel-atomic 650s ok 25 /gtask/return-pointer 650s ok 26 /gtask/return-value 650s ok 27 /gtask/return-prefixed-error 650s ok 28 /gtask/object-keepalive 650s ok 29 /gtask/legacy-error 650s ok 30 /gtask/finalize-without-return 650s # Start of name tests 650s ok 31 /gtask/name/macro-wrapper 650s # End of name tests 650s # Start of return tests 650s ok 32 /gtask/return/error-first 650s ok 33 /gtask/return/value-first 650s # Start of in-idle tests 650s ok 34 /gtask/return/in-idle/error-first 650s ok 35 /gtask/return/in-idle/value-first 650s # End of in-idle tests 650s # End of return tests 650s # Start of attach-source tests 650s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 650s ok 36 /gtask/attach-source/set-name 650s # End of attach-source tests 650s # End of gtask tests 650s ok - glib/task.test 650s # Running test: glib/cancellable.test 650s TAP version 14 650s # random seed: R02S293fe62bb436cb4e48db70e19dd3ab7b 650s 1..10 650s # Start of cancellable tests 650s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 650s ok 2 /cancellable/null 650s # /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 650s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 650s # /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 650s ok 4 /cancellable/resets-on-cancel-callback-hangs 650s ok 5 /cancellable/poll-fd 650s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 650s ok 6 /cancellable/poll-fd-cancelled 650s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 650s ok 7 /cancellable/poll-fd-cancelled-threaded 650s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 650s ok 8 /cancellable/cancel-reset-races 650s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 650s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 650s # End of cancellable tests 650s # Start of cancellable-source tests 650s # /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) 650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 650s ok 10 /cancellable-source/threaded-dispose 650s # End of cancellable-source tests 650s ok - glib/cancellable.test 650s # Running test: glib/unix-mounts.test 650s TAP version 14 650s # random seed: R02Sb7ec09d1cdcc8388b4fb331ec743ac22 650s 1..4 650s # Start of unix-mounts tests 650s ok 1 /unix-mounts/is-system-fs-type 650s ok 2 /unix-mounts/is-system-device-path 650s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 650s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 650s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 650s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 650s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 650s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 650s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 650s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 650s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 650s ok 3 /unix-mounts/get-mount-points 650s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 650s ok 4 /unix-mounts/get-mount-entries 650s # End of unix-mounts tests 650s ok - glib/unix-mounts.test 650s # Running test: glib/hash.test 650s TAP version 14 650s # random seed: R02S25fdef1d03e67975930c1c061b437175 650s 1..34 650s # Start of hash tests 650s ok 1 /hash/misc 650s ok 2 /hash/one 650s ok 3 /hash/honeyman 650s ok 4 /hash/direct 650s ok 5 /hash/direct2 650s ok 6 /hash/int 650s ok 7 /hash/int64 650s ok 8 /hash/double 650s ok 9 /hash/string 650s ok 10 /hash/set 650s ok 11 /hash/set-ref 650s ok 12 /hash/ref 650s ok 13 /hash/remove-all 650s ok 14 /hash/recursive-remove-all 650s ok 15 /hash/find 650s ok 16 /hash/foreach 650s ok 17 /hash/foreach-steal 650s ok 18 /hash/steal-extended 650s ok 19 /hash/steal-all-keys 650s ok 20 /hash/steal-all-values 650s ok 21 /hash/lookup-extended 650s ok 22 /hash/new-similar 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 650s ok 23 /hash/lookup-null-key 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 650s ok 24 /hash/destroy-modify 650s ok 25 /hash/consistency 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 650s ok 26 /hash/iter-replace 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 650s ok 27 /hash/set-insert-corruption 650s ok 28 /hash/set-to-strv 650s ok 29 /hash/get-keys-as-ptr-array 650s ok 30 /hash/get-values-as-ptr-array 650s ok 31 /hash/primes 650s # Start of int64 tests 650s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 650s ok 32 /hash/int64/collisions 650s # End of int64 tests 650s # Start of double tests 650s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 650s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 650s ok 33 /hash/double/collisions 650s # End of double tests 650s # Start of recursive-remove-all tests 650s # End of recursive-remove-all tests 650s # Start of steal-extended tests 650s ok 34 /hash/steal-extended/optional 650s # End of steal-extended tests 650s # End of hash tests 650s ok - glib/hash.test 650s # Running test: glib/g-file-info-filesystem-readonly.test 650s TAP version 14 650s # random seed: R02Sfa00b5c6d6105acc2b1ae01711ce0d78 650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 650s 1..2 650s # Start of g-file-info-filesystem-readonly tests 650s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 650s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 650s # End of g-file-info-filesystem-readonly tests 650s ok - glib/g-file-info-filesystem-readonly.test 650s # Running test: glib/performance-threaded.test 650s Running test "liststore-is-a" 651s # Executing: glib/performance-threaded.test 651s 15386 runs, min/avg/max = 0.064/0.065/0.244 ms 651s Running test "liststore-interface-peek" 652s 19764 runs, min/avg/max = 0.049/0.051/0.243 ms 652s Running test "liststore-interface-peek-same" 653s 19561 runs, min/avg/max = 0.050/0.051/0.279 ms 653s ok - glib/performance-threaded.test 653s # Running test: glib/markup-escape.test 653s TAP version 14 653s # random seed: R02Sa046ee75c8ffc5a2c82ad2527241aa3c 653s 1..41 653s # Start of markup tests 653s ok 1 /markup/format 653s # Start of escape-text tests 653s ok 2 /markup/escape-text/0 653s ok 3 /markup/escape-text/1 653s ok 4 /markup/escape-text/2 653s ok 5 /markup/escape-text/3 653s ok 6 /markup/escape-text/4 653s ok 7 /markup/escape-text/5 653s ok 8 /markup/escape-text/6 653s ok 9 /markup/escape-text/7 653s ok 10 /markup/escape-text/8 653s ok 11 /markup/escape-text/9 653s ok 12 /markup/escape-text/10 653s ok 13 /markup/escape-text/11 653s ok 14 /markup/escape-text/12 653s ok 15 /markup/escape-text/13 653s ok 16 /markup/escape-text/14 653s ok 17 /markup/escape-text/15 653s ok 18 /markup/escape-text/16 653s ok 19 /markup/escape-text/17 653s ok 20 /markup/escape-text/18 653s ok 21 /markup/escape-text/19 653s ok 22 /markup/escape-text/20 653s ok 23 /markup/escape-text/21 653s ok 24 /markup/escape-text/22 653s # End of escape-text tests 653s # Start of escape-unichar tests 653s ok 25 /markup/escape-unichar/0 653s ok 26 /markup/escape-unichar/1 653s ok 27 /markup/escape-unichar/2 653s ok 28 /markup/escape-unichar/3 653s ok 29 /markup/escape-unichar/4 653s ok 30 /markup/escape-unichar/5 653s ok 31 /markup/escape-unichar/6 653s ok 32 /markup/escape-unichar/7 653s ok 33 /markup/escape-unichar/8 653s ok 34 /markup/escape-unichar/9 653s ok 35 /markup/escape-unichar/10 653s ok 36 /markup/escape-unichar/11 653s ok 37 /markup/escape-unichar/12 653s ok 38 /markup/escape-unichar/13 653s ok 39 /markup/escape-unichar/14 653s ok 40 /markup/escape-unichar/15 653s ok 41 /markup/escape-unichar/16 653s # End of escape-unichar tests 653s # End of markup tests 653s ok - glib/markup-escape.test 653s # Running test: glib/tls-interaction.test 653s TAP version 14 653s # random seed: R02S60c7e089725e1fe3bd0b906dccde4741 653s 1..42 653s # Start of tls-interaction tests 653s # Start of ask-password tests 653s # Start of invoke-with-loop tests 653s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 653s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 653s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 653s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 653s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 653s # End of invoke-with-loop tests 653s # Start of invoke-without-loop tests 653s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 653s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 653s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 653s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 653s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 653s # End of invoke-without-loop tests 653s # Start of invoke-in-loop tests 653s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 653s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 653s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 653s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 653s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 653s # End of invoke-in-loop tests 653s # Start of sync tests 653s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 653s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 653s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 653s # End of sync tests 653s # Start of async tests 653s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 653s ok 20 /tls-interaction/ask-password/async/async-implementation-success 653s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 653s # End of async tests 653s # End of ask-password tests 653s # Start of request-certificate tests 653s # Start of invoke-with-loop tests 653s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 653s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 653s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 653s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 653s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 653s # End of invoke-with-loop tests 653s # Start of invoke-without-loop tests 653s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 653s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 653s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 653s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 653s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 653s # End of invoke-without-loop tests 653s # Start of invoke-in-loop tests 653s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 653s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 653s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 653s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 653s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 653s # End of invoke-in-loop tests 653s # Start of sync tests 653s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 653s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 653s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 653s # End of sync tests 653s # Start of async tests 653s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 653s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 653s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 653s # End of async tests 653s # End of request-certificate tests 653s # End of tls-interaction tests 653s ok - glib/tls-interaction.test 653s # Running test: glib/scannerapi.test 653s TAP version 14 653s # random seed: R02S0fb427b46f81f3a033ca38266283c96f 653s 1..4 653s # Start of scanner tests 653s ok 1 /scanner/warn 653s ok 2 /scanner/error 653s ok 3 /scanner/symbols 653s ok 4 /scanner/tokens 653s # End of scanner tests 653s ok - glib/scannerapi.test 653s # Running test: glib/search-utils.test 653s TAP version 14 653s # random seed: R02Se0b1f3a9533475c1dce720e97851aef9 653s # GLib-DEBUG: Current user locale: C.UTF-8 653s 1..6 653s # Start of search tests 653s # GLib-DEBUG: Started 653s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 653s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 653s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 653s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 653s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 653s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 653s ok 1 /search/basic 653s # GLib-DEBUG: Started 653s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 653s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 653s # GLib-DEBUG: 'ele' - 'élève' should match: OK 653s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 653s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 653s ok 2 /search/composed 653s # GLib-DEBUG: Started 653s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 653s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 653s ok 3 /search/decomposed 653s # GLib-DEBUG: Started 653s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 653s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 653s ok 4 /search/turkish 653s # GLib-DEBUG: Started 653s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 653s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 653s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 653s ok 5 /search/c_locale_unicode 653s # GLib-DEBUG: Started 653s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 653s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 653s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 653s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 653s ok 6 /search/multi_words 653s # End of search tests 653s ok - glib/search-utils.test 653s # Running test: glib/hostutils.test 653s TAP version 14 653s # random seed: R02S0a78f7f349d6fdee1ef8843a57408382 653s 1..3 653s # Start of hostutils tests 653s ok 1 /hostutils/to_ascii 653s ok 2 /hostutils/to_unicode 653s ok 3 /hostutils/is_ip_addr 653s # End of hostutils tests 653s ok - glib/hostutils.test 653s # Running test: glib/qdata.test 653s TAP version 14 653s # random seed: R02S5af30c2a59816b73b76abe5ee7eae87f 653s 1..2 653s # Start of qdata tests 653s ok 1 /qdata/threaded 653s ok 2 /qdata/dup 653s # End of qdata tests 653s ok - glib/qdata.test 653s # Running test: glib/error.test 653s TAP version 14 653s # random seed: R02S70345050aa21ae3086bdae53f85c1ac0 653s 1..3 653s # Start of error tests 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_LB1NX2/error/from-errno/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_LB1NX2/error/from-errno/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_LB1NX2/error/from-errno/.dirs/system-config1:/tmp/test_error_LB1NX2/error/from-errno/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_LB1NX2/error/from-errno/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_LB1NX2/error/from-errno/.dirs/system-data1:/tmp/test_error_LB1NX2/error/from-errno/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_LB1NX2/error/from-errno/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_LB1NX2/error/from-errno/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_LB1NX2/error/from-errno/.dirs/runtime 653s ok 1 /error/from-errno 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/system-config1:/tmp/test_error_LB1NX2/error/from-file-error/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/system-data1:/tmp/test_error_LB1NX2/error/from-file-error/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_LB1NX2/error/from-file-error/.dirs/runtime 653s ok 2 /error/from-file-error 653s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/home 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/cache 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_LB1NX2/error/from-win32-error/.dirs/system-config2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/config 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_LB1NX2/error/from-win32-error/.dirs/system-data2 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/data 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/state 653s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_LB1NX2/error/from-win32-error/.dirs/runtime 653s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 653s # End of error tests 653s ok - glib/error.test 653s # Running test: glib/gnotification.test 653s TAP version 14 653s # random seed: R02S79af08d6a8ac628d3556b6cd6740156e 653s 1..2 653s # Start of gnotification tests 653s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 653s ok 1 /gnotification/basic 653s ok 2 /gnotification/properties 653s # End of gnotification tests 653s ok - glib/gnotification.test 653s # Running test: glib/mappedfile.test 653s TAP version 14 653s # random seed: R02Sde330b90c19f606656b2b44c78a3243e 653s 1..7 653s # Start of mappedfile tests 653s ok 1 /mappedfile/basic 653s ok 2 /mappedfile/empty 653s ok 3 /mappedfile/device 653s ok 4 /mappedfile/nonexisting 653s ok 5 /mappedfile/writable 653s ok 6 /mappedfile/writable_fd 653s ok 7 /mappedfile/gbytes 653s # End of mappedfile tests 653s ok - glib/mappedfile.test 653s # Running test: glib/utils-c-89.test 654s TAP version 14 654s # random seed: R02S81756b5be1833d84710a6eff22c4cf1d 654s 1..40 654s # Start of utils tests 654s ok 1 /utils/language-names 654s ok 2 /utils/locale-variants 654s ok 3 /utils/version 654s ok 4 /utils/appname 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 654s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 654s ok 5 /utils/prgname-thread-safety 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 654s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 654s ok 6 /utils/tmpdir 654s ok 7 /utils/basic_bits 654s ok 8 /utils/bits 654s ok 9 /utils/swap 654s ok 10 /utils/find-program 654s ok 11 /utils/find-program-for-path 654s ok 12 /utils/debug 654s ok 13 /utils/codeset 654s ok 14 /utils/codeset2 654s ok 15 /utils/console-charset 654s ok 16 /utils/gettext 654s ok 17 /utils/username 654s ok 18 /utils/realname 654s ok 19 /utils/hostname 654s ok 20 /utils/xdgdirs 654s ok 21 /utils/specialdir 654s # NAME: Ubuntu 654s ok 22 /utils/os-info 654s ok 23 /utils/clear-pointer 654s ok 24 /utils/clear-pointer-cast 654s ok 25 /utils/take-pointer 654s ok 26 /utils/clear-source 654s ok 27 /utils/misc-mem 654s # /utils/aligned-mem summary: Aligned memory allocator 654s # Alignment must not be zero 654s # Alignment must be a power of two 654s # Alignment must be a multiple of sizeof(void*) 654s ok 28 /utils/aligned-mem 654s # /utils/free-sized summary: Check that g_free_sized() works 654s ok 29 /utils/free-sized 654s ok 30 /utils/nullify 654s ok 31 /utils/atexit 654s ok 32 /utils/check-setuid 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 654s ok 33 /utils/int-limits 654s ok 34 /utils/clear-list 654s ok 35 /utils/clear-slist 654s # Start of specialdir tests 654s ok 36 /utils/specialdir/desktop 654s # End of specialdir tests 654s # Start of clear-pointer tests 654s ok 37 /utils/clear-pointer/side-effects 654s # End of clear-pointer tests 654s # Start of aligned-mem tests 654s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 654s ok 38 /utils/aligned-mem/alignment 654s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 654s ok 39 /utils/aligned-mem/zeroed 654s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 654s ok 40 /utils/aligned-mem/free-sized 654s # Start of subprocess tests 654s # End of subprocess tests 654s # End of aligned-mem tests 654s # End of utils tests 654s ok - glib/utils-c-89.test 654s # Running test: glib/notify-init2.test 654s TAP version 14 654s # random seed: R02S484d42134356a445e41efd84c16e5d99 654s 1..1 654s # Start of properties tests 654s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 654s ok 1 /properties/notify-in-init2 654s # End of properties tests 654s ok - glib/notify-init2.test 654s # Running test: glib/slist.test 654s TAP version 14 654s # random seed: R02Sa6103f7b907c1b7ba84a394d4812e7ea 654s 1..14 654s # Start of slist tests 654s ok 1 /slist/sort 654s ok 2 /slist/sort-with-data 654s ok 3 /slist/insert-sorted 654s ok 4 /slist/insert-sorted-with-data 654s ok 5 /slist/reverse 654s ok 6 /slist/nth 654s ok 7 /slist/remove 654s ok 8 /slist/remove-all 654s ok 9 /slist/insert 654s ok 10 /slist/position 654s ok 11 /slist/concat 654s ok 12 /slist/copy 654s # Start of sort tests 654s ok 13 /slist/sort/stable 654s # End of sort tests 654s # Start of copy tests 654s ok 14 /slist/copy/deep 654s # End of copy tests 654s # End of slist tests 654s ok - glib/slist.test 654s # Running test: glib/power-profile-monitor.test 654s TAP version 14 654s # random seed: R02Sc83092099a37c6f2cf64b50e63909e40 654s 1..1 654s # Start of power-profile-monitor tests 654s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 654s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 654s ok 1 /power-profile-monitor/default 654s # End of power-profile-monitor tests 654s ok - glib/power-profile-monitor.test 654s # Running test: glib/asyncqueue.test 654s TAP version 14 654s # random seed: R02Sc1d095f63f21e334f23195b620817fac 654s 1..7 654s # Start of asyncqueue tests 654s ok 1 /asyncqueue/basics 654s ok 2 /asyncqueue/sort 654s ok 3 /asyncqueue/destroy 654s ok 4 /asyncqueue/threads 654s ok 5 /asyncqueue/timed 654s ok 6 /asyncqueue/remove 654s ok 7 /asyncqueue/push_front 654s # End of asyncqueue tests 654s ok - glib/asyncqueue.test 654s # Running test: glib/gdbus-proxy-threads.test 654s TAP version 14 654s # random seed: R02S801edc0bce8bfb211c9befb02bf68d1e 654s 1..1 654s # Start of gdbus tests 654s # Start of proxy tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_E03YX2/gdbus/proxy/vs-threads/.dirs/runtime 654s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 654s ok 1 /gdbus/proxy/vs-threads 654s # slow test /gdbus/proxy/vs-threads executed in 0.53 secs 654s # End of proxy tests 654s # End of gdbus tests 654s cleaning up pid 9424 654s ok - glib/gdbus-proxy-threads.test 654s # Running test: glib/dynamictype.test 654s TAP version 14 654s # random seed: R02Saa58f6a0b6944d25a522bff65aeec482 654s 1..2 654s # Start of gobject tests 654s ok 1 /gobject/dynamic-type 654s # Start of dynamic-type tests 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 654s ok 2 /gobject/dynamic-type/query 654s # End of dynamic-type tests 654s # End of gobject tests 654s ok - glib/dynamictype.test 654s # Running test: glib/portal-support-flatpak-full.test 654s TAP version 14 654s # random seed: R02S182e1bfe6eb6a986df1e369cb2ffdf67 654s 1..1 654s # Start of portal-support tests 654s # Start of flatpak tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/runtime 654s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_FBGOX2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 654s ok 1 /portal-support/flatpak/full 654s # End of flatpak tests 654s # End of portal-support tests 654s ok - glib/portal-support-flatpak-full.test 654s # Running test: glib/gdbus-method-invocation.test 655s TAP version 14 655s # random seed: R02S7b3e5eac4d3ca5860f20d7a1fb2337f6 655s 1..1 655s # Start of gdbus tests 655s # Start of method-invocation tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_XNEOX2/gdbus/method-invocation/return/.dirs/runtime 655s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 655s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 655s # Calling org.freedesktop.DBus.Properties.Get 655s # Calling org.freedesktop.DBus.Properties.Get 655s # Calling org.freedesktop.DBus.Properties.Get 655s # Calling org.freedesktop.DBus.Properties.Set 655s # Calling org.freedesktop.DBus.Properties.GetAll 655s # Calling org.example.Foo.WrongReturnType 655s # Calling org.example.Foo.GetFDs 655s # Calling org.example.Foo.GetFDs 655s # Calling org.example.Foo.ReturnError 655s # Calling org.example.Foo.CloseBeforeReturning 655s ok 1 /gdbus/method-invocation/return 655s # End of method-invocation tests 655s # End of gdbus tests 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s ok - glib/gdbus-method-invocation.test 655s # Running test: glib/gdbus-addresses.test 655s TAP version 14 655s # random seed: R02Sbc2683199b867f5303b15490af8241bb 655s 1..9 655s # Start of gdbus tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/empty-address/.dirs/runtime 655s ok 1 /gdbus/empty-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unsupported-address/.dirs/runtime 655s ok 2 /gdbus/unsupported-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/address-parsing/.dirs/runtime 655s ok 3 /gdbus/address-parsing 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/unix-address/.dirs/runtime 655s ok 4 /gdbus/unix-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/nonce-tcp-address/.dirs/runtime 655s ok 5 /gdbus/nonce-tcp-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/tcp-address/.dirs/runtime 655s ok 6 /gdbus/tcp-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/autolaunch-address/.dirs/runtime 655s ok 7 /gdbus/autolaunch-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/mixed-address/.dirs/runtime 655s ok 8 /gdbus/mixed-address 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_TE9NX2/gdbus/escape-address/.dirs/runtime 655s ok 9 /gdbus/escape-address 655s # End of gdbus tests 655s ok - glib/gdbus-addresses.test 655s # Running test: glib/tree.test 655s TAP version 14 655s # random seed: R02S690281665036741c87938d386de26cbd 655s 1..7 655s # Start of tree tests 655s ok 1 /tree/search 655s ok 2 /tree/remove 655s ok 3 /tree/destroy 655s ok 4 /tree/traverse 655s ok 5 /tree/insert 655s ok 6 /tree/bounds 655s ok 7 /tree/remove-all 655s # End of tree tests 655s ok - glib/tree.test 655s # Running test: glib/repository.test 655s TAP version 14 655s # random seed: R02S50423035742e889134d268eb68923537 655s 1..23 655s # Start of repository tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/basic/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/basic/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/basic/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/basic/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/basic/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/basic/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/basic/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/basic/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/basic/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/basic/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 655s ok 1 /repository/basic 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/info/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/info/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/info/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/info/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/info/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/info/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/info/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/info/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/info/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/info/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/info summary: Test retrieving some basic info blobs from a typelib 655s ok 2 /repository/info 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/dependencies/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/dependencies/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/dependencies/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 655s ok 3 /repository/dependencies 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/arg-info/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/arg-info/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/arg-info/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 655s ok 4 /repository/arg-info 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/callable-info/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/callable-info/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/callable-info/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 655s ok 5 /repository/callable-info 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/callback-info/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/callback-info/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/callback-info/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 655s ok 6 /repository/callback-info 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/char-types/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/char-types/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/char-types/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 655s ok 7 /repository/char-types 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/constructor-return-type/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 655s ok 8 /repository/constructor-return-type 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/enum-info-c-identifier/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 655s ok 9 /repository/enum-info-c-identifier 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/enum-info-static-methods/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/enum-info-static-methods summary: Test an enum with methods 655s ok 10 /repository/enum-info-static-methods 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/error-quark/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/error-quark/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/error-quark/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/error-quark summary: Test finding an error quark by error domain 655s ok 11 /repository/error-quark 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/flags-info-c-identifier/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 655s ok 12 /repository/flags-info-c-identifier 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/fundamental-ref-func/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 655s ok 13 /repository/fundamental-ref-func 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/instance-method-ownership-transfer/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 655s ok 14 /repository/instance-method-ownership-transfer 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/object-gtype-interfaces/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 655s ok 15 /repository/object-gtype-interfaces 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/signal-info-with-array-length-arg/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 655s ok 16 /repository/signal-info-with-array-length-arg 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/type-info-name/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 655s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 655s ok 17 /repository/type-info-name 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-no-invoker/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 655s ok 18 /repository/vfunc-info-with-no-invoker 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 655s ok 19 /repository/vfunc-info-with-invoker-on-interface 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 655s ok 20 /repository/vfunc-info-with-invoker-on-object 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/find-by-gtype/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/find-by-gtype summary: Test finding a GType 655s ok 21 /repository/find-by-gtype 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/loaded-namespaces/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/loaded-namespaces summary: Test listing loaded namespaces 655s ok 22 /repository/loaded-namespaces 655s # Start of base-info tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_RS6NX2/repository/base-info/clear/.dirs/runtime 655s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 655s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 655s ok 23 /repository/base-info/clear 655s # End of base-info tests 655s # End of repository tests 655s ok - glib/repository.test 655s # Running test: glib/collate.test 655s TAP version 14 655s # random seed: R02S465fae8152ead1b4bcca9d03fab6a457 655s 1..9 655s # Start of unicode tests 655s # Start of collate tests 655s ok 1 /unicode/collate/0 655s ok 2 /unicode/collate/1 655s ok 3 /unicode/collate/2 655s # End of collate tests 655s # Start of collate-key tests 655s ok 4 /unicode/collate-key/0 655s ok 5 /unicode/collate-key/1 655s ok 6 /unicode/collate-key/2 655s # End of collate-key tests 655s # Start of collate-filename tests 655s ok 7 /unicode/collate-filename/0 655s ok 8 /unicode/collate-filename/1 655s ok 9 /unicode/collate-filename/2 655s # End of collate-filename tests 655s # End of unicode tests 655s ok - glib/collate.test 655s # Running test: glib/option-context.test 655s TAP version 14 655s # random seed: R02Sd4da6ab7fcd4dcfc63db0168cf20f23e 655s 1..57 655s # Start of option tests 655s ok 1 /option/basic 655s ok 2 /option/translate 655s ok 3 /option/strict-posix 655s # Start of help tests 655s ok 4 /option/help/options 655s ok 5 /option/help/no-options 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 655s ok 6 /option/help/no-help-options 655s # End of help tests 655s # Start of group tests 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 655s ok 7 /option/group/captions 655s ok 8 /option/group/main 655s ok 9 /option/group/error-hook 655s ok 10 /option/group/parse 655s # Start of captions tests 655s # Start of subprocess tests 655s # End of subprocess tests 655s # End of captions tests 655s # End of group tests 655s # Start of restoration tests 655s ok 11 /option/restoration/int 655s ok 12 /option/restoration/string 655s ok 13 /option/restoration/boolean 655s # End of restoration tests 655s # Start of arg tests 655s ok 14 /option/arg/reverse-string 655s ok 15 /option/arg/optional-int 655s # Start of repetition tests 655s ok 16 /option/arg/repetition/int 655s ok 17 /option/arg/repetition/string 655s ok 18 /option/arg/repetition/filename 655s ok 19 /option/arg/repetition/double 655s ok 20 /option/arg/repetition/locale 655s ok 21 /option/arg/repetition/int64 655s # End of repetition tests 655s # Start of array tests 655s ok 22 /option/arg/array/string 655s # End of array tests 655s # Start of callback tests 655s ok 23 /option/arg/callback/string 655s ok 24 /option/arg/callback/count 655s ok 25 /option/arg/callback/optional1 655s ok 26 /option/arg/callback/optional2 655s ok 27 /option/arg/callback/optional3 655s ok 28 /option/arg/callback/optional4 655s ok 29 /option/arg/callback/optional5 655s ok 30 /option/arg/callback/optional6 655s ok 31 /option/arg/callback/optional7 655s ok 32 /option/arg/callback/optional8 655s # End of callback tests 655s # Start of remaining tests 655s ok 33 /option/arg/remaining/callback 655s ok 34 /option/arg/remaining/callback-false 655s ok 35 /option/arg/remaining/non-option 655s ok 36 /option/arg/remaining/separator 655s ok 37 /option/arg/remaining/array 655s # End of remaining tests 655s # Start of ignore tests 655s ok 38 /option/arg/ignore/long 655s ok 39 /option/arg/ignore/short 655s ok 40 /option/arg/ignore/arg 655s # End of ignore tests 655s # Start of rest tests 655s ok 41 /option/arg/rest/non-option 655s ok 42 /option/arg/rest/separator1 655s ok 43 /option/arg/rest/separator2 655s ok 44 /option/arg/rest/separator3 655s ok 45 /option/arg/rest/separator4 655s ok 46 /option/arg/rest/separator5 655s # End of rest tests 655s # End of arg tests 655s # Start of context tests 655s ok 47 /option/context/add 655s ok 48 /option/context/empty2 655s ok 49 /option/context/empty3 655s # End of context tests 655s # Start of bug tests 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 655s ok 50 /option/bug/unknown-short 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 655s ok 51 /option/bug/lonely-dash 655s ok 52 /option/bug/triple-dash 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 655s ok 53 /option/bug/missing-arg 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 655s ok 54 /option/bug/dash-arg 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 655s ok 55 /option/bug/short-remaining 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 655s ok 56 /option/bug/double-free 655s ok 57 /option/bug/double-zero 655s # End of bug tests 655s # End of option tests 655s ok - glib/option-context.test 655s # Running test: glib/inet-address.test 655s TAP version 14 655s # random seed: R02Sbd884fa6c0b7bdd40824106147608153 655s 1..11 655s # Start of inet-address tests 655s ok 1 /inet-address/parse 655s ok 2 /inet-address/any 655s ok 3 /inet-address/loopback 655s ok 4 /inet-address/bytes 655s ok 5 /inet-address/property 655s # End of inet-address tests 655s # Start of socket-address tests 655s ok 6 /socket-address/basic 655s ok 7 /socket-address/to-string 655s # End of socket-address tests 655s # Start of address-mask tests 655s ok 8 /address-mask/parse 655s ok 9 /address-mask/property 655s ok 10 /address-mask/equal 655s ok 11 /address-mask/match 655s # End of address-mask tests 655s ok - glib/inet-address.test 655s # Running test: glib/permission.test 655s TAP version 14 655s # random seed: R02S7bd8bc2640846a8581e672a07803eca8 655s 1..1 655s # Start of permission tests 655s ok 1 /permission/simple 655s # End of permission tests 655s ok - glib/permission.test 655s # Running test: glib/gdbus-threading.test 655s TAP version 14 655s # random seed: R02Seab5af25125d5419191352253bcef183 655s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 655s ok - glib/gdbus-threading.test 655s # Running test: glib/gdbus-sasl.test 655s TAP version 14 655s # random seed: R02S32a54c0e8aabe122f9d0301d3cf701f7 655s 1..1 655s # Start of gdbus tests 655s # Start of sasl tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_5SC8X2/gdbus/sasl/server/.dirs/runtime 655s # New handshake: EXTERNAL with incorrect initial response 655s # C:“AUTH EXTERNAL 30†655s # Expect: /^REJECTED.*$/ 655s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†655s # New handshake: EXTERNAL without initial response, failing to authenticate 655s # C:“AUTH EXTERNAL†655s # Expect: /^DATA$/ 655s # S:“DATA†655s # C:“DATA 30†655s # Expect: /^REJECTED.*$/ 655s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†655s # New handshake: EXTERNAL with initial response 655s # C:“AUTH EXTERNAL 31303030†655s # Expect: /^OK [0-9a-f]+$/ 655s # S:“OK 9977431e6e9bed982c1f86cc674fb99f†655s # New handshake: EXTERNAL without initial response 655s # C:“AUTH EXTERNAL†655s # Expect: /^DATA$/ 655s # S:“DATA†655s # C:“DATA 31303030†655s # Expect: /^OK [0-9a-f]+$/ 655s # S:“OK 9977431e6e9bed982c1f86cc674fb99f†655s # New handshake: EXTERNAL with empty authorization identity 655s # C:“AUTH EXTERNAL†655s # Expect: /^DATA$/ 655s # S:“DATA†655s # C:“DATA†655s # Expect: /^OK [0-9a-f]+$/ 655s # S:“OK 9977431e6e9bed982c1f86cc674fb99f†655s # New handshake: EXTERNAL with empty authorization identity and whitespace 655s # C:“AUTH EXTERNAL†655s # Expect: /^DATA$/ 655s # S:“DATA†655s # C:“DATA †655s # Expect: /^OK [0-9a-f]+$/ 655s # S:“OK 9977431e6e9bed982c1f86cc674fb99f†655s ok 1 /gdbus/sasl/server 655s # End of sasl tests 655s # End of gdbus tests 655s ok - glib/gdbus-sasl.test 655s # Running test: glib/g-file-info.test 655s TAP version 14 655s # random seed: R02S4e7515d7a412f822d0e2e6a13dffc5e6 655s 1..6 655s # Start of g-file-info tests 655s ok 1 /g-file-info/test_g_file_info 655s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 655s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 655s ok 2 /g-file-info/xattrs 655s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 655s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 655s ok 3 /g-file-info/set-modified-date-time-precision 655s # Start of test_g_file_info tests 655s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 655s ok 4 /g-file-info/test_g_file_info/modification-time 655s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 655s ok 5 /g-file-info/test_g_file_info/access-time 655s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 655s ok 6 /g-file-info/test_g_file_info/creation-time 655s # End of test_g_file_info tests 655s # End of g-file-info tests 655s ok - glib/g-file-info.test 655s # Running test: glib/network-monitor-race.test 655s TAP version 14 655s # random seed: R02S33a659200faaef1112a8febaf80c73ae 655s 1..1 655s # Start of network-monitor tests 655s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 656s # Executing: glib/network-monitor-race.test 657s ok 1 /network-monitor/create-in-thread 657s # slow test /network-monitor/create-in-thread executed in 2.08 secs 657s # End of network-monitor tests 657s ok - glib/network-monitor-race.test 657s # Running test: glib/tls-database.test 657s TAP version 14 657s # random seed: R02Sa9e50b6287479ca9880331f4568aaf01 657s 1..1 657s # Start of tls-backend tests 657s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 657s ok 1 /tls-backend/set-default-database 657s # End of tls-backend tests 657s ok - glib/tls-database.test 657s # Running test: glib/proxy-test.test 657s TAP version 14 657s # random seed: R02S99f7f028a6368a2f1bce525f87987ae3 657s 1..11 657s # Start of proxy tests 657s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 657s ok 1 /proxy/direct_sync 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b2f9c0 and GSocketClientAsyncConnectData 0x2aa12b25260 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b303d0 for GSocketClientAsyncConnectData 0x2aa12b25260 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s ok 2 /proxy/direct_async 657s ok 3 /proxy/single_sync 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b31cd0 and GSocketClientAsyncConnectData 0x2aa12b30e20 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b32830 for GSocketClientAsyncConnectData 0x2aa12b30e20 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s ok 4 /proxy/single_async 657s ok 5 /proxy/multiple_sync 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b32560 and GSocketClientAsyncConnectData 0x2aa12b32330 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b32eb0 for GSocketClientAsyncConnectData 0x2aa12b32330 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b328c0 for GSocketClientAsyncConnectData 0x2aa12b32330 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s ok 6 /proxy/multiple_async 657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 657s ok 7 /proxy/invalid-uris-sync 657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b32c40 and GSocketClientAsyncConnectData 0x2aa12b32140 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 657s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b31cd0 and GSocketClientAsyncConnectData 0x2aa12b32140 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 657s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b31cd0 and GSocketClientAsyncConnectData 0x2aa12b32140 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b30930 for GSocketClientAsyncConnectData 0x2aa12b32140 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b32560 and GSocketClientAsyncConnectData 0x2aa12b32620 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b30be0 for GSocketClientAsyncConnectData 0x2aa12b32620 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s ok 8 /proxy/invalid-uris-async 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b31cd0 and GSocketClientAsyncConnectData 0x2aa12b322b0 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 657s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 657s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b322b0 and GSocketClientAsyncConnectData 0x2aa12b32620 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b335e0 for GSocketClientAsyncConnectData 0x2aa12b32620 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 657s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b31cd0 and GSocketClientAsyncConnectData 0x2aa12b32140 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b32310 for GSocketClientAsyncConnectData 0x2aa12b32140 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s ok 9 /proxy/dns 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b30810 and GSocketClientAsyncConnectData 0x2aa12b32900 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b335e0 for GSocketClientAsyncConnectData 0x2aa12b32900 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 657s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b319e0 and GSocketClientAsyncConnectData 0x2aa12b31c10 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b30be0 for GSocketClientAsyncConnectData 0x2aa12b31c10 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 657s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa12b322b0 and GSocketClientAsyncConnectData 0x2aa12b32900 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa12b33600 for GSocketClientAsyncConnectData 0x2aa12b32900 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 657s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 657s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 657s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 657s ok 10 /proxy/override 657s ok 11 /proxy/enumerator-ports 657s # End of proxy tests 657s ok - glib/proxy-test.test 657s # Running test: glib/async-close-output-stream.test 657s TAP version 14 657s # random seed: R02S7d6c936873942e661cafd3b95c3a3b5c 657s 1..3 657s # Start of close-async tests 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 657s ok 1 /close-async/without-flush 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 657s ok 2 /close-async/with-flush 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 657s ok 3 /close-async/with-async-flush 657s # End of close-async tests 657s ok - glib/async-close-output-stream.test 657s # Running test: glib/gmenumodel.test 657s TAP version 14 657s # random seed: R02Sa832284fad984427c56a68a837f92a94 657s 1..15 657s # Start of gmenu tests 657s ok 1 /gmenu/equality 658s ok 2 /gmenu/random 658s # slow test /gmenu/random executed in 0.51 secs 658s ok 3 /gmenu/attributes 658s ok 4 /gmenu/links 658s ok 5 /gmenu/mutable 658s ok 6 /gmenu/convenience 658s ok 7 /gmenu/menuitem 658s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 658s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 658s ok 8 /gmenu/input-validation 658s # Start of dbus tests 658s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 659s ok 9 /gmenu/dbus/roundtrip 659s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 659s ok 10 /gmenu/dbus/subscriptions 660s ok 11 /gmenu/dbus/threaded 660s # slow test /gmenu/dbus/threaded executed in 0.56 secs 660s # Start of peer tests 661s ok 12 /gmenu/dbus/peer/roundtrip 661s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 661s ok 13 /gmenu/dbus/peer/subscriptions 661s # End of peer tests 661s # Start of export tests 661s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s ok 14 /gmenu/dbus/export/error-handling 661s # End of export tests 661s # End of dbus tests 661s # Start of attributes tests 661s ok 15 /gmenu/attributes/iterate 661s # End of attributes tests 661s # End of gmenu tests 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok - glib/gmenumodel.test 661s # Running test: glib/gdbus-connection.test 661s TAP version 14 661s # random seed: R02Sb363c451e4bcbda39423ebfad3c21b8c 661s 1..9 661s # Start of gdbus tests 661s # Start of connection tests 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/bus-failure/.dirs/runtime 661s ok 1 /gdbus/connection/bus-failure 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/basic/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 2 /gdbus/connection/basic 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/life-cycle/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 3 /gdbus/connection/life-cycle 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/send/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 4 /gdbus/connection/send 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signals/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 5 /gdbus/connection/signals 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/signal-match-rules/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 6 /gdbus/connection/signal-match-rules 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/filter/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 7 /gdbus/connection/filter 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/serials/.dirs/runtime 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 8 /gdbus/connection/serials 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_KZSVX2/gdbus/connection/cancel/.dirs/runtime 661s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 661s ok 9 /gdbus/connection/cancel 661s # End of connection tests 661s # End of gdbus tests 661s ok - glib/gdbus-connection.test 661s # Running test: glib/portal-support-snap.test 661s TAP version 14 661s # random seed: R02S6d6ccce3ce02a4b1395474839158af04 661s 1..7 661s # Start of portal-support tests 661s # Start of snap tests 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/no-snapctl: No such file or directory 661s ok 1 /portal-support/snap/no-snapctl 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none/.dirs/runtime/snapctl 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/none: No such file or directory 661s ok 2 /portal-support/snap/none 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all/.dirs/runtime/snapctl 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/all: No such file or directory 661s ok 3 /portal-support/snap/all 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/desktop-only: No such file or directory 661s ok 4 /portal-support/snap/desktop-only 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only/.dirs/runtime/snapctl 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/network-only: No such file or directory 661s ok 5 /portal-support/snap/network-only 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/gsettings-only: No such file or directory 661s ok 6 /portal-support/snap/gsettings-only 661s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/home 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/cache 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/system-config2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/config 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/system-data2 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/data 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/state 661s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime 661s # Created snap.yaml in /tmp/test_portal-support-snap_C53UX2/meta/snap.yaml 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s # Created snapctl in /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2/portal-support/snap/updates-dynamically: No such file or directory 661s ok 7 /portal-support/snap/updates-dynamically 661s # End of snap tests 661s # End of portal-support tests 661s Unable to clean up temporary directory /tmp/test_portal-support-snap_C53UX2: No such file or directory 661s ok - glib/portal-support-snap.test 661s # Running test: glib/once.test 661s TAP version 14 661s # random seed: R02Se0b037350291c4e1c72c2fccf8e987b1 661s 1..5 661s # Start of once tests 661s # /once/single-threaded summary: Test g_once() usage from a single thread 661s ok 1 /once/single-threaded 661s # /once/multi-threaded summary: Test g_once() usage from multiple threads 661s ok 2 /once/multi-threaded 661s # End of once tests 661s # Start of once-init tests 661s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 661s ok 3 /once-init/single-threaded 661s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 661s ok 4 /once-init/multi-threaded 661s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 661s ok 5 /once-init/string 661s # End of once-init tests 661s ok - glib/once.test 661s # Running test: glib/rwlock.test 661s TAP version 14 661s # random seed: R02Sc8c69b7d1bd73faa06ec9184260db566 661s 1..8 661s # Start of thread tests 661s ok 1 /thread/rwlock1 661s ok 2 /thread/rwlock2 661s ok 3 /thread/rwlock3 661s ok 4 /thread/rwlock4 661s ok 5 /thread/rwlock5 661s ok 6 /thread/rwlock6 661s # Executing: glib/rwlock.test 664s ok 7 /thread/rwlock7 664s # slow test /thread/rwlock7 executed in 2.34 secs 664s ok 8 /thread/rwlock8 664s # End of thread tests 664s ok - glib/rwlock.test 664s # Running test: glib/gdbus-introspection.test 664s TAP version 14 664s # random seed: R02S042b3dcd9d1919a473d75d99cf0a90aa 664s 1..4 664s # Start of gdbus tests 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-parser/.dirs/runtime 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s ok 1 /gdbus/introspection-parser 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-generate/.dirs/runtime 664s ok 2 /gdbus/introspection-generate 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-default-direction/.dirs/runtime 664s ok 3 /gdbus/introspection-default-direction 664s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/home 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/cache 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/system-config2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/config 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/system-data2 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/data 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/state 664s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_FWK8X2/gdbus/introspection-extra-data/.dirs/runtime 664s ok 4 /gdbus/introspection-extra-data 664s # End of gdbus tests 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok - glib/gdbus-introspection.test 664s # Running test: glib/gapplication.test 664s TAP version 14 664s # random seed: R02Saf98cdf9bc4352a75ca2c776e91a410b 664s 1..24 664s # Start of gapplication tests 664s ok 1 /gapplication/no-dbus 664s ok 2 /gapplication/no-appid 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 3 /gapplication/properties 664s ok 4 /gapplication/app-id 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 5 /gapplication/quit 664s ok 6 /gapplication/registered 664s ok 7 /gapplication/local-actions 664s ok 8 /gapplication/local-command-line 664s ok 9 /gapplication/resource-path 664s ok 10 /gapplication/test-help 664s ok 11 /gapplication/command-line-done 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 12 /gapplication/test-busy 664s ok 13 /gapplication/test-handle-local-options1 664s ok 14 /gapplication/test-handle-local-options2 664s ok 15 /gapplication/test-handle-local-options3 664s ok 16 /gapplication/api 664s ok 17 /gapplication/version 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # launching subprocess 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 18 /gapplication/replace 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # launching subprocess 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 19 /gapplication/no-replace 664s # slow test /gapplication/no-replace executed in 0.50 secs 664s # Start of dbus tests 664s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # Message 0 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 1 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 2 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 20 /gapplication/dbus/activate 664s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # Message 0 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 664s # Message 1 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 2 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 3 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 21 /gapplication/dbus/open 664s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # Message 0 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 1 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 2 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 22 /gapplication/dbus/command-line 664s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 23 /gapplication/dbus/command-line-done 664s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 664s # Message 0 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 1 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 2 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 3 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 4 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 5 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 6 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 7 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 8 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 9 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 10 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # Message 11 664s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 664s ok 24 /gapplication/dbus/activate-action 664s # End of dbus tests 664s # End of gapplication tests 664s ok - glib/gapplication.test 664s # Running test: glib/performance.test 664s Running test simple-construction 666s # Executing: glib/performance.test 671s # Executing: glib/performance.test 672s simple-construction: Millions of constructed objects per second: 20.602 672s Running test simple-construction1 674s simple-construction1: Millions of constructed objects per second: 82.244 674s Running test complex-construction 676s # Executing: glib/performance.test 676s complex-construction: Millions of constructed objects per second: 7.881 676s Running test complex-construction1 681s complex-construction1: Millions of constructed objects per second: 14.224 681s Running test complex-construction2 681s # Executing: glib/performance.test 685s complex-construction2: Millions of constructed objects per second: 15.034 685s Running test finalization 686s # Executing: glib/performance.test 686s finalization: Millions of finalized objects per second: 4.597 686s Running test type-check 686s type-check: Million type checks per second: inf 686s Running test emit-unhandled 687s emit-unhandled: Emissions per second: 8747870 687s Running test emit-unhandled-empty 688s emit-unhandled-empty: Emissions per second: 53983453 688s Running test emit-unhandled-generic 689s emit-unhandled-generic: Emissions per second: 14567288 689s Running test emit-unhandled-generic-empty 690s emit-unhandled-generic-empty: Emissions per second: 54164943 690s Running test emit-unhandled-args 691s # Executing: glib/performance.test 691s emit-unhandled-args: Emissions per second: 7049875 691s Running test emit-handled 693s emit-handled: Emissions per second: 5865000 693s Running test emit-handled-empty 694s emit-handled-empty: Emissions per second: 6362363 694s Running test emit-handled-generic 695s emit-handled-generic: Emissions per second: 6335530 695s Running test emit-handled-generic-empty 696s emit-handled-generic-empty: Emissions per second: 11443557 696s Running test emit-handled-args 696s # Executing: glib/performance.test 697s emit-handled-args: Emissions per second: 5196662 697s Running test notify-unhandled 698s notify-unhandled: Notify (unhandled) per second: 36405237 698s Running test notify-by-pspec-unhandled 699s notify-by-pspec-unhandled: Notify (unhandled) per second: 126455818 699s Running test notify-handled 700s notify-handled: Notify per second: 3031560 700s Running test notify-by-pspec-handled 701s notify-by-pspec-handled: Notify per second: 3210612 701s Running test property-set 701s # Executing: glib/performance.test 702s property-set: Property set per second: 21645000 702s Running test property-get 703s property-get: Property get per second: 19391870 703s Running test refcount 704s refcount: Million refs+unref per second: 58.15 704s Running test refcount-1 705s refcount-1: Million refs+unref per second: 156.73 705s Running test refcount-toggle 706s refcount-toggle: Million refs+unref per second: 87.04 706s ok - glib/performance.test 706s # Running test: glib/spawn-path-search.test 706s TAP version 14 706s # random seed: R02S9e73eab2559ffb56f62abc1656d27b8e 706s 1..7 706s # Start of spawn tests 706s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 706s # 706s # this is spawn-test-helper from glib/tests 706s # 706s ok 1 /spawn/do-not-search 706s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 706s # 706s # this is spawn-test-helper from path-test-subdir 706s # 706s ok 2 /spawn/search-path 706s # /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. 706s # 706s # this is spawn-test-helper from path-test-subdir 706s # 706s ok 3 /spawn/search-path-from-envp 706s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 706s # 706s # this is spawn-test-helper from path-test-subdir 706s # 706s ok 4 /spawn/search-path-ambiguous 706s # 706s # this is spawn-test-helper from path-test-subdir 706s # 706s ok 5 /spawn/search-path-heap-allocation 706s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 706s # 706s # this is spawn-test-helper from glib/tests 706s # 706s ok 6 /spawn/search-path-fallback-in-environ 706s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 706s # 706s # this is spawn-test-helper from glib/tests 706s # 706s ok 7 /spawn/search-path-fallback-in-envp 706s # End of spawn tests 706s ok - glib/spawn-path-search.test 706s # Running test: glib/type.test 706s TAP version 14 706s # random seed: R02S227ec33eba8dfbf18faa08d37c22250b 706s 1..6 706s # Start of type tests 706s ok 1 /type/registration-serial 706s ok 2 /type/interface-prerequisite 706s ok 3 /type/interface-check 706s ok 4 /type/next-base 706s ok 5 /type/is-a 706s # Invalid types can?t be queried. 706s # Unclassed types can?t be queried. 706s ok 6 /type/query 706s # End of type tests 706s ok - glib/type.test 706s # Running test: glib/rcbox.test 706s TAP version 14 706s # random seed: R02S12483e7327de517e4e3b6fd23a403894 706s 1..8 706s # Start of rcbox tests 706s ok 1 /rcbox/new 706s # global_point = 0x2aa0ebec840 706s ok 2 /rcbox/release-full 706s # global_point_a = 0x2aa0ebec840 706s # global_point_b = 0x2aa0ebec800 706s ok 3 /rcbox/dup 706s ok 4 /rcbox/alignment 706s # End of rcbox tests 706s # Start of atomic-rcbox tests 706s ok 5 /atomic-rcbox/new 706s # global_point = 0x2aa0ebeca10 706s ok 6 /atomic-rcbox/release-full 706s # global_point_a = 0x2aa0ebeca10 706s # global_point_b = 0x2aa0ebec9d0 706s ok 7 /atomic-rcbox/dup 706s ok 8 /atomic-rcbox/alignment 706s # End of atomic-rcbox tests 706s ok - glib/rcbox.test 706s # Running test: glib/unicode-encoding.test 706s TAP version 14 706s # random seed: R02S87404d83209102a46b8809510ae4ac88 706s 1..1 706s # Start of unicode tests 706s ok 1 /unicode/encoding 706s # End of unicode tests 706s ok - glib/unicode-encoding.test 706s # Running test: glib/slice.test 706s TAP version 14 706s # random seed: R02S90069e449d4c32eb96a9bb7834c806f4 706s 1..3 706s # Start of slice tests 706s ok 1 /slice/copy 706s ok 2 /slice/chain 706s ok 3 /slice/allocate 706s # End of slice tests 706s ok - glib/slice.test 706s # Running test: glib/atomic-c-17.test 706s TAP version 14 706s # random seed: R02S361b56c5abf4d468e398d3f462cbfebc 706s 1..2 706s # Start of atomic tests 706s ok 1 /atomic/types 706s ok 2 /atomic/threaded 706s # End of atomic tests 706s ok - glib/atomic-c-17.test 706s # Running test: glib/network-monitor.test 706s TAP version 14 706s # random seed: R02Sdc9b00b2b616ca6189829fdc4d77d85d 706s 1..4 706s # Start of network-monitor tests 706s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 706s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 706s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 706s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 706s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 706s ok 1 /network-monitor/default 706s ok 2 /network-monitor/remove_default 706s ok 3 /network-monitor/add_networks 706s ok 4 /network-monitor/remove_networks 706s # End of network-monitor tests 706s ok - glib/network-monitor.test 706s # Running test: glib/spawn-test.test 706s TAP version 14 706s # random seed: R02Sda8e27e21b515b9d74ce47d73a10bffc 706s 1..2 706s # Start of spawn tests 706s ok 1 /spawn/basics 706s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 706s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 706s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 706s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 706s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 706s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 706s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 706s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 706s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 706s # Fetching GSpawn result output with stdin open, stdout open, stderr open 706s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 706s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 706s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 706s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 706s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 706s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 706s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 706s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 706s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 706s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 706s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 706s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 706s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 706s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 706s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 706s # Fetching GSpawn result with stdin open, stdout open, stderr open 706s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 706s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 706s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 706s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 706s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 706s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 706s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 706s # Executing: glib/spawn-test.test 706s ok 2 /spawn/stdio-overwrite 706s # End of spawn tests 706s ok - glib/spawn-test.test 706s # Running test: glib/test-printf.test 706s TAP version 14 706s # random seed: R02S8806c8a3178dd79755920ff6aaf3c0fd 706s 1..22 706s # Start of snprintf tests 706s ok 1 /snprintf/retval-and-trunc 706s ok 2 /snprintf/%d 706s ok 3 /snprintf/%d-invalid 706s ok 4 /snprintf/%o 706s ok 5 /snprintf/%u 706s ok 6 /snprintf/%x 706s ok 7 /snprintf/%X 706s ok 8 /snprintf/%f 706s ok 9 /snprintf/%e 706s ok 10 /snprintf/%c 706s ok 11 /snprintf/%s 706s ok 12 /snprintf/%n 706s ok 13 /snprintf/test-percent 706s ok 14 /snprintf/test-positional-params 706s ok 15 /snprintf/test-64bit 706s # End of snprintf tests 706s # Start of printf tests 706s ok 16 /printf/test-percent 706s ok 17 /printf/test-positional-params 706s ok 18 /printf/test-64bit 706s # Start of test-64bit tests 706s # Start of subprocess tests 706s # End of subprocess tests 706s # End of test-64bit tests 706s # End of printf tests 706s # Start of sprintf tests 706s ok 19 /sprintf/test-positional-params 706s ok 20 /sprintf/upper-bound 706s # End of sprintf tests 706s # Start of vasprintf tests 706s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 706s ok 21 /vasprintf/invalid-format-placeholder 706s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 706s ok 22 /vasprintf/invalid-wide-string 706s # End of vasprintf tests 706s ok - glib/test-printf.test 706s # Running test: glib/application-command-line.test 706s TAP version 14 706s # random seed: R02S1db654c5fa8689ac85f27707a18c0e33 706s 1..1 706s # Start of application-command-line tests 706s ok 1 /application-command-line/basic-properties 706s # End of application-command-line tests 706s ok - glib/application-command-line.test 706s # Running test: glib/function-info.test 706s TAP version 14 706s # random seed: R02Sb8cc754b0b7e2af3d93451496416d70b 706s 1..1 706s # Start of function-info tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_9X7RX2/function-info/invoker/.dirs/runtime 706s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 706s # /function-info/invoker summary: Test preparing a function invoker 706s ok 1 /function-info/invoker 706s # End of function-info tests 706s ok - glib/function-info.test 706s # Running test: glib/simple-async-result.test 706s TAP version 14 706s # random seed: R02S7e200ff2a18d245cbd1c6492ac317e67 706s 1..2 706s # Start of gio tests 706s # Start of simple-async-result tests 706s ok 1 /gio/simple-async-result/test 706s # GLib-GIO-DEBUG: GTask 0x2aa05900720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 706s ok 2 /gio/simple-async-result/valid 706s # End of simple-async-result tests 706s # End of gio tests 706s ok - glib/simple-async-result.test 706s # Running test: glib/onceinit.test 706s TAP version 14 706s # random seed: R02Sc0f5bb7afed36cb347cb854606859d2f 706s 1..1 706s # Start of thread tests 706s ok 1 /thread/onceinit 706s # End of thread tests 706s ok - glib/onceinit.test 706s # Running test: glib/repository-search-paths.test 706s TAP version 14 706s # random seed: R02Sc15ccdb2423971040ad46a769012b652 706s 1..4 706s # Start of repository tests 706s # Start of search-paths tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/default/.dirs/runtime 706s ok 1 /repository/search-paths/default 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X43QX2/repository/search-paths/prepend/.dirs/runtime 706s ok 2 /repository/search-paths/prepend 706s # End of search-paths tests 706s # Start of library-paths tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/default/.dirs/runtime 706s ok 3 /repository/library-paths/default 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X43QX2/repository/library-paths/prepend/.dirs/runtime 706s ok 4 /repository/library-paths/prepend 706s # End of library-paths tests 706s # End of repository tests 706s ok - glib/repository-search-paths.test 706s # Running test: glib/gutils-user-database.test 706s TAP version 14 706s # random seed: R02S07f5c2f5f86be5d13f8a7ed5e4d8f58f 706s 1..1 706s # Start of gutils tests 706s ok 1 /gutils/get_user_database_entry 706s # End of gutils tests 706s ok - glib/gutils-user-database.test 706s # Running test: glib/unix-streams.test 706s TAP version 14 706s # random seed: R02S26eb75ae08632ff8e414d40dfff4a336 706s 1..9 706s # Start of unix-streams tests 706s ok 1 /unix-streams/basic 707s ok 2 /unix-streams/pipe-io-test 707s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 707s ok 3 /unix-streams/nonblocking-io-test 707s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 707s ok 4 /unix-streams/read_write 707s ok 5 /unix-streams/read_writev 707s ok 6 /unix-streams/write-wouldblock 707s ok 7 /unix-streams/writev-wouldblock 707s ok 8 /unix-streams/write-async-wouldblock 707s ok 9 /unix-streams/writev-async-wouldblock 707s # End of unix-streams tests 707s ok - glib/unix-streams.test 707s # Running test: glib/contexts.test 707s TAP version 14 707s # random seed: R02S42b9f6c995ee84ed773db0bb522f768c 707s 1..5 707s # Start of gio tests 707s # Start of contexts tests 707s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 707s ok 1 /gio/contexts/thread-independence 707s ok 2 /gio/contexts/context-independence 707s # Start of context-specific tests 707s ok 3 /gio/contexts/context-specific/identity 707s ok 4 /gio/contexts/context-specific/emit 707s ok 5 /gio/contexts/context-specific/emit-and-unref 707s # End of context-specific tests 707s # End of contexts tests 707s # End of gio tests 707s ok - glib/contexts.test 707s # Running test: glib/list.test 707s TAP version 14 707s # random seed: R02Sce30af2ba25a47da30348a35f73226a1 707s 1..20 707s # Start of list tests 707s ok 1 /list/sort 707s ok 2 /list/sort-with-data 707s ok 3 /list/insert-before-link 707s ok 4 /list/insert-sorted 707s ok 5 /list/insert-sorted-with-data 707s ok 6 /list/reverse 707s ok 7 /list/nth 707s ok 8 /list/concat 707s ok 9 /list/remove 707s ok 10 /list/remove-all 707s ok 11 /list/first-last 707s ok 12 /list/insert 707s ok 13 /list/free-full 707s ok 14 /list/copy 707s ok 15 /list/copy-deep 707s ok 16 /list/delete-link 707s ok 17 /list/prepend 707s ok 18 /list/position 707s ok 19 /list/double-free 707s # Start of sort tests 707s ok 20 /list/sort/stable 707s # End of sort tests 707s # End of list tests 707s ok - glib/list.test 707s # Running test: glib/properties-introspection.test 707s TAP version 14 707s # random seed: R02Sac3bce9b9904534cfe8533ebde897f1f 707s 1..2 707s # Start of properties tests 707s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 707s ok 1 /properties/introspection 707s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 707s ok 2 /properties/collision 707s # End of properties tests 707s ok - glib/properties-introspection.test 707s # Running test: glib/checksum.test 707s TAP version 14 707s # random seed: R02S206850d8171d490e1e4711624b3ac278 707s 1..1851 707s # Start of checksum tests 707s ok 1 /checksum/unsupported 707s # Start of MD5 tests 707s ok 2 /checksum/MD5/0 707s ok 3 /checksum/MD5/1 707s ok 4 /checksum/MD5/2 707s ok 5 /checksum/MD5/3 707s ok 6 /checksum/MD5/4 707s ok 7 /checksum/MD5/5 707s ok 8 /checksum/MD5/6 707s ok 9 /checksum/MD5/7 707s ok 10 /checksum/MD5/8 707s ok 11 /checksum/MD5/9 707s ok 12 /checksum/MD5/10 707s ok 13 /checksum/MD5/11 707s ok 14 /checksum/MD5/12 707s ok 15 /checksum/MD5/13 707s ok 16 /checksum/MD5/14 707s ok 17 /checksum/MD5/15 707s ok 18 /checksum/MD5/16 707s ok 19 /checksum/MD5/17 707s ok 20 /checksum/MD5/18 707s ok 21 /checksum/MD5/19 707s ok 22 /checksum/MD5/20 707s ok 23 /checksum/MD5/21 707s ok 24 /checksum/MD5/22 707s ok 25 /checksum/MD5/23 707s ok 26 /checksum/MD5/24 707s ok 27 /checksum/MD5/25 707s ok 28 /checksum/MD5/26 707s ok 29 /checksum/MD5/27 707s ok 30 /checksum/MD5/28 707s ok 31 /checksum/MD5/29 707s ok 32 /checksum/MD5/30 707s ok 33 /checksum/MD5/31 707s ok 34 /checksum/MD5/32 707s ok 35 /checksum/MD5/33 707s ok 36 /checksum/MD5/34 707s ok 37 /checksum/MD5/35 707s ok 38 /checksum/MD5/36 707s ok 39 /checksum/MD5/37 707s ok 40 /checksum/MD5/38 707s ok 41 /checksum/MD5/39 707s ok 42 /checksum/MD5/40 707s ok 43 /checksum/MD5/41 707s ok 44 /checksum/MD5/42 707s ok 45 /checksum/MD5/43 707s ok 46 /checksum/MD5/44 707s ok 47 /checksum/MD5/45 707s ok 48 /checksum/MD5/46 707s ok 49 /checksum/MD5/47 707s ok 50 /checksum/MD5/48 707s ok 51 /checksum/MD5/49 707s ok 52 /checksum/MD5/50 707s ok 53 /checksum/MD5/51 707s ok 54 /checksum/MD5/52 707s ok 55 /checksum/MD5/53 707s ok 56 /checksum/MD5/54 707s ok 57 /checksum/MD5/55 707s ok 58 /checksum/MD5/56 707s ok 59 /checksum/MD5/57 707s ok 60 /checksum/MD5/58 707s ok 61 /checksum/MD5/59 707s ok 62 /checksum/MD5/60 707s ok 63 /checksum/MD5/61 707s ok 64 /checksum/MD5/62 707s ok 65 /checksum/MD5/63 707s ok 66 /checksum/MD5/64 707s ok 67 /checksum/MD5/65 707s ok 68 /checksum/MD5/66 707s ok 69 /checksum/MD5/67 707s ok 70 /checksum/MD5/68 707s ok 71 /checksum/MD5/69 707s ok 72 /checksum/MD5/70 707s ok 73 /checksum/MD5/71 707s ok 74 /checksum/MD5/72 707s ok 75 /checksum/MD5/73 707s ok 76 /checksum/MD5/74 707s ok 77 /checksum/MD5/75 707s ok 78 /checksum/MD5/76 707s ok 79 /checksum/MD5/77 707s ok 80 /checksum/MD5/78 707s ok 81 /checksum/MD5/79 707s ok 82 /checksum/MD5/80 707s ok 83 /checksum/MD5/81 707s ok 84 /checksum/MD5/82 707s ok 85 /checksum/MD5/83 707s ok 86 /checksum/MD5/84 707s ok 87 /checksum/MD5/85 707s ok 88 /checksum/MD5/86 707s ok 89 /checksum/MD5/87 707s ok 90 /checksum/MD5/88 707s ok 91 /checksum/MD5/89 707s ok 92 /checksum/MD5/90 707s ok 93 /checksum/MD5/91 707s ok 94 /checksum/MD5/92 707s ok 95 /checksum/MD5/93 707s ok 96 /checksum/MD5/94 707s ok 97 /checksum/MD5/95 707s ok 98 /checksum/MD5/96 707s ok 99 /checksum/MD5/97 707s ok 100 /checksum/MD5/98 707s ok 101 /checksum/MD5/99 707s ok 102 /checksum/MD5/100 707s ok 103 /checksum/MD5/101 707s ok 104 /checksum/MD5/102 707s ok 105 /checksum/MD5/103 707s ok 106 /checksum/MD5/104 707s ok 107 /checksum/MD5/105 707s ok 108 /checksum/MD5/106 707s ok 109 /checksum/MD5/107 707s ok 110 /checksum/MD5/108 707s ok 111 /checksum/MD5/109 707s ok 112 /checksum/MD5/110 707s ok 113 /checksum/MD5/111 707s ok 114 /checksum/MD5/112 707s ok 115 /checksum/MD5/113 707s ok 116 /checksum/MD5/114 707s ok 117 /checksum/MD5/115 707s ok 118 /checksum/MD5/116 707s ok 119 /checksum/MD5/117 707s ok 120 /checksum/MD5/118 707s ok 121 /checksum/MD5/119 707s ok 122 /checksum/MD5/120 707s ok 123 /checksum/MD5/121 707s ok 124 /checksum/MD5/122 707s ok 125 /checksum/MD5/123 707s ok 126 /checksum/MD5/124 707s ok 127 /checksum/MD5/125 707s ok 128 /checksum/MD5/126 707s ok 129 /checksum/MD5/127 707s ok 130 /checksum/MD5/128 707s ok 131 /checksum/MD5/129 707s ok 132 /checksum/MD5/130 707s ok 133 /checksum/MD5/131 707s ok 134 /checksum/MD5/132 707s ok 135 /checksum/MD5/133 707s ok 136 /checksum/MD5/134 707s ok 137 /checksum/MD5/135 707s ok 138 /checksum/MD5/136 707s ok 139 /checksum/MD5/137 707s ok 140 /checksum/MD5/138 707s ok 141 /checksum/MD5/139 707s ok 142 /checksum/MD5/140 707s ok 143 /checksum/MD5/141 707s ok 144 /checksum/MD5/142 707s ok 145 /checksum/MD5/143 707s ok 146 /checksum/MD5/144 707s ok 147 /checksum/MD5/145 707s ok 148 /checksum/MD5/146 707s ok 149 /checksum/MD5/147 707s ok 150 /checksum/MD5/148 707s ok 151 /checksum/MD5/149 707s ok 152 /checksum/MD5/150 707s ok 153 /checksum/MD5/151 707s ok 154 /checksum/MD5/152 707s ok 155 /checksum/MD5/153 707s ok 156 /checksum/MD5/154 707s ok 157 /checksum/MD5/155 707s ok 158 /checksum/MD5/156 707s ok 159 /checksum/MD5/157 707s ok 160 /checksum/MD5/158 707s ok 161 /checksum/MD5/159 707s ok 162 /checksum/MD5/160 707s ok 163 /checksum/MD5/161 707s ok 164 /checksum/MD5/162 707s ok 165 /checksum/MD5/163 707s ok 166 /checksum/MD5/164 707s ok 167 /checksum/MD5/165 707s ok 168 /checksum/MD5/166 707s ok 169 /checksum/MD5/167 707s ok 170 /checksum/MD5/168 707s ok 171 /checksum/MD5/169 707s ok 172 /checksum/MD5/170 707s ok 173 /checksum/MD5/171 707s ok 174 /checksum/MD5/172 707s ok 175 /checksum/MD5/173 707s ok 176 /checksum/MD5/174 707s ok 177 /checksum/MD5/175 707s ok 178 /checksum/MD5/176 707s ok 179 /checksum/MD5/177 707s ok 180 /checksum/MD5/178 707s ok 181 /checksum/MD5/179 707s ok 182 /checksum/MD5/180 707s ok 183 /checksum/MD5/181 707s ok 184 /checksum/MD5/182 707s ok 185 /checksum/MD5/183 707s ok 186 /checksum/MD5/string 707s ok 187 /checksum/MD5/bytes 707s # Start of reset tests 707s ok 188 /checksum/MD5/reset/0 707s ok 189 /checksum/MD5/reset/1 707s ok 190 /checksum/MD5/reset/2 707s ok 191 /checksum/MD5/reset/3 707s ok 192 /checksum/MD5/reset/4 707s ok 193 /checksum/MD5/reset/5 707s ok 194 /checksum/MD5/reset/6 707s ok 195 /checksum/MD5/reset/7 707s ok 196 /checksum/MD5/reset/8 707s ok 197 /checksum/MD5/reset/9 707s ok 198 /checksum/MD5/reset/10 707s ok 199 /checksum/MD5/reset/11 707s ok 200 /checksum/MD5/reset/12 707s ok 201 /checksum/MD5/reset/13 707s ok 202 /checksum/MD5/reset/14 707s ok 203 /checksum/MD5/reset/15 707s ok 204 /checksum/MD5/reset/16 707s ok 205 /checksum/MD5/reset/17 707s ok 206 /checksum/MD5/reset/18 707s ok 207 /checksum/MD5/reset/19 707s ok 208 /checksum/MD5/reset/20 707s ok 209 /checksum/MD5/reset/21 707s ok 210 /checksum/MD5/reset/22 707s ok 211 /checksum/MD5/reset/23 707s ok 212 /checksum/MD5/reset/24 707s ok 213 /checksum/MD5/reset/25 707s ok 214 /checksum/MD5/reset/26 707s ok 215 /checksum/MD5/reset/27 707s ok 216 /checksum/MD5/reset/28 707s ok 217 /checksum/MD5/reset/29 707s ok 218 /checksum/MD5/reset/30 707s ok 219 /checksum/MD5/reset/31 707s ok 220 /checksum/MD5/reset/32 707s ok 221 /checksum/MD5/reset/33 707s ok 222 /checksum/MD5/reset/34 707s ok 223 /checksum/MD5/reset/35 707s ok 224 /checksum/MD5/reset/36 707s ok 225 /checksum/MD5/reset/37 707s ok 226 /checksum/MD5/reset/38 707s ok 227 /checksum/MD5/reset/39 707s ok 228 /checksum/MD5/reset/40 707s ok 229 /checksum/MD5/reset/41 707s ok 230 /checksum/MD5/reset/42 707s ok 231 /checksum/MD5/reset/43 707s ok 232 /checksum/MD5/reset/44 707s ok 233 /checksum/MD5/reset/45 707s ok 234 /checksum/MD5/reset/46 707s ok 235 /checksum/MD5/reset/47 707s ok 236 /checksum/MD5/reset/48 707s ok 237 /checksum/MD5/reset/49 707s ok 238 /checksum/MD5/reset/50 707s ok 239 /checksum/MD5/reset/51 707s ok 240 /checksum/MD5/reset/52 707s ok 241 /checksum/MD5/reset/53 707s ok 242 /checksum/MD5/reset/54 707s ok 243 /checksum/MD5/reset/55 707s ok 244 /checksum/MD5/reset/56 707s ok 245 /checksum/MD5/reset/57 707s ok 246 /checksum/MD5/reset/58 707s ok 247 /checksum/MD5/reset/59 707s ok 248 /checksum/MD5/reset/60 707s ok 249 /checksum/MD5/reset/61 707s ok 250 /checksum/MD5/reset/62 707s ok 251 /checksum/MD5/reset/63 707s ok 252 /checksum/MD5/reset/64 707s ok 253 /checksum/MD5/reset/65 707s ok 254 /checksum/MD5/reset/66 707s ok 255 /checksum/MD5/reset/67 707s ok 256 /checksum/MD5/reset/68 707s ok 257 /checksum/MD5/reset/69 707s ok 258 /checksum/MD5/reset/70 707s ok 259 /checksum/MD5/reset/71 707s ok 260 /checksum/MD5/reset/72 707s ok 261 /checksum/MD5/reset/73 707s ok 262 /checksum/MD5/reset/74 707s ok 263 /checksum/MD5/reset/75 707s ok 264 /checksum/MD5/reset/76 707s ok 265 /checksum/MD5/reset/77 707s ok 266 /checksum/MD5/reset/78 707s ok 267 /checksum/MD5/reset/79 707s ok 268 /checksum/MD5/reset/80 707s ok 269 /checksum/MD5/reset/81 707s ok 270 /checksum/MD5/reset/82 707s ok 271 /checksum/MD5/reset/83 707s ok 272 /checksum/MD5/reset/84 707s ok 273 /checksum/MD5/reset/85 707s ok 274 /checksum/MD5/reset/86 707s ok 275 /checksum/MD5/reset/87 707s ok 276 /checksum/MD5/reset/88 707s ok 277 /checksum/MD5/reset/89 707s ok 278 /checksum/MD5/reset/90 707s ok 279 /checksum/MD5/reset/91 707s ok 280 /checksum/MD5/reset/92 707s ok 281 /checksum/MD5/reset/93 707s ok 282 /checksum/MD5/reset/94 707s ok 283 /checksum/MD5/reset/95 707s ok 284 /checksum/MD5/reset/96 707s ok 285 /checksum/MD5/reset/97 707s ok 286 /checksum/MD5/reset/98 707s ok 287 /checksum/MD5/reset/99 707s ok 288 /checksum/MD5/reset/100 707s ok 289 /checksum/MD5/reset/101 707s ok 290 /checksum/MD5/reset/102 707s ok 291 /checksum/MD5/reset/103 707s ok 292 /checksum/MD5/reset/104 707s ok 293 /checksum/MD5/reset/105 707s ok 294 /checksum/MD5/reset/106 707s ok 295 /checksum/MD5/reset/107 707s ok 296 /checksum/MD5/reset/108 707s ok 297 /checksum/MD5/reset/109 707s ok 298 /checksum/MD5/reset/110 707s ok 299 /checksum/MD5/reset/111 707s ok 300 /checksum/MD5/reset/112 707s ok 301 /checksum/MD5/reset/113 707s ok 302 /checksum/MD5/reset/114 707s ok 303 /checksum/MD5/reset/115 707s ok 304 /checksum/MD5/reset/116 707s ok 305 /checksum/MD5/reset/117 707s ok 306 /checksum/MD5/reset/118 707s ok 307 /checksum/MD5/reset/119 707s ok 308 /checksum/MD5/reset/120 707s ok 309 /checksum/MD5/reset/121 707s ok 310 /checksum/MD5/reset/122 707s ok 311 /checksum/MD5/reset/123 707s ok 312 /checksum/MD5/reset/124 707s ok 313 /checksum/MD5/reset/125 707s ok 314 /checksum/MD5/reset/126 707s ok 315 /checksum/MD5/reset/127 707s ok 316 /checksum/MD5/reset/128 707s ok 317 /checksum/MD5/reset/129 707s ok 318 /checksum/MD5/reset/130 707s ok 319 /checksum/MD5/reset/131 707s ok 320 /checksum/MD5/reset/132 707s ok 321 /checksum/MD5/reset/133 707s ok 322 /checksum/MD5/reset/134 707s ok 323 /checksum/MD5/reset/135 707s ok 324 /checksum/MD5/reset/136 707s ok 325 /checksum/MD5/reset/137 707s ok 326 /checksum/MD5/reset/138 707s ok 327 /checksum/MD5/reset/139 707s ok 328 /checksum/MD5/reset/140 707s ok 329 /checksum/MD5/reset/141 707s ok 330 /checksum/MD5/reset/142 707s ok 331 /checksum/MD5/reset/143 707s ok 332 /checksum/MD5/reset/144 707s ok 333 /checksum/MD5/reset/145 707s ok 334 /checksum/MD5/reset/146 707s ok 335 /checksum/MD5/reset/147 707s ok 336 /checksum/MD5/reset/148 707s ok 337 /checksum/MD5/reset/149 707s ok 338 /checksum/MD5/reset/150 707s ok 339 /checksum/MD5/reset/151 707s ok 340 /checksum/MD5/reset/152 707s ok 341 /checksum/MD5/reset/153 707s ok 342 /checksum/MD5/reset/154 707s ok 343 /checksum/MD5/reset/155 707s ok 344 /checksum/MD5/reset/156 707s ok 345 /checksum/MD5/reset/157 707s ok 346 /checksum/MD5/reset/158 707s ok 347 /checksum/MD5/reset/159 707s ok 348 /checksum/MD5/reset/160 707s ok 349 /checksum/MD5/reset/161 707s ok 350 /checksum/MD5/reset/162 707s ok 351 /checksum/MD5/reset/163 707s ok 352 /checksum/MD5/reset/164 707s ok 353 /checksum/MD5/reset/165 707s ok 354 /checksum/MD5/reset/166 707s ok 355 /checksum/MD5/reset/167 707s ok 356 /checksum/MD5/reset/168 707s ok 357 /checksum/MD5/reset/169 707s ok 358 /checksum/MD5/reset/170 707s ok 359 /checksum/MD5/reset/171 707s ok 360 /checksum/MD5/reset/172 707s ok 361 /checksum/MD5/reset/173 707s ok 362 /checksum/MD5/reset/174 707s ok 363 /checksum/MD5/reset/175 707s ok 364 /checksum/MD5/reset/176 707s ok 365 /checksum/MD5/reset/177 707s ok 366 /checksum/MD5/reset/178 707s ok 367 /checksum/MD5/reset/179 707s ok 368 /checksum/MD5/reset/180 707s ok 369 /checksum/MD5/reset/181 707s ok 370 /checksum/MD5/reset/182 707s ok 371 /checksum/MD5/reset/183 707s # End of reset tests 707s # End of MD5 tests 707s # Start of SHA1 tests 707s ok 372 /checksum/SHA1/0 707s ok 373 /checksum/SHA1/1 707s ok 374 /checksum/SHA1/2 707s ok 375 /checksum/SHA1/3 707s ok 376 /checksum/SHA1/4 707s ok 377 /checksum/SHA1/5 707s ok 378 /checksum/SHA1/6 707s ok 379 /checksum/SHA1/7 707s ok 380 /checksum/SHA1/8 707s ok 381 /checksum/SHA1/9 707s ok 382 /checksum/SHA1/10 707s ok 383 /checksum/SHA1/11 707s ok 384 /checksum/SHA1/12 707s ok 385 /checksum/SHA1/13 707s ok 386 /checksum/SHA1/14 707s ok 387 /checksum/SHA1/15 707s ok 388 /checksum/SHA1/16 707s ok 389 /checksum/SHA1/17 707s ok 390 /checksum/SHA1/18 707s ok 391 /checksum/SHA1/19 707s ok 392 /checksum/SHA1/20 707s ok 393 /checksum/SHA1/21 707s ok 394 /checksum/SHA1/22 707s ok 395 /checksum/SHA1/23 707s ok 396 /checksum/SHA1/24 707s ok 397 /checksum/SHA1/25 707s ok 398 /checksum/SHA1/26 707s ok 399 /checksum/SHA1/27 707s ok 400 /checksum/SHA1/28 707s ok 401 /checksum/SHA1/29 707s ok 402 /checksum/SHA1/30 707s ok 403 /checksum/SHA1/31 707s ok 404 /checksum/SHA1/32 707s ok 405 /checksum/SHA1/33 707s ok 406 /checksum/SHA1/34 707s ok 407 /checksum/SHA1/35 707s ok 408 /checksum/SHA1/36 707s ok 409 /checksum/SHA1/37 707s ok 410 /checksum/SHA1/38 707s ok 411 /checksum/SHA1/39 707s ok 412 /checksum/SHA1/40 707s ok 413 /checksum/SHA1/41 707s ok 414 /checksum/SHA1/42 707s ok 415 /checksum/SHA1/43 707s ok 416 /checksum/SHA1/44 707s ok 417 /checksum/SHA1/45 707s ok 418 /checksum/SHA1/46 707s ok 419 /checksum/SHA1/47 707s ok 420 /checksum/SHA1/48 707s ok 421 /checksum/SHA1/49 707s ok 422 /checksum/SHA1/50 707s ok 423 /checksum/SHA1/51 707s ok 424 /checksum/SHA1/52 707s ok 425 /checksum/SHA1/53 707s ok 426 /checksum/SHA1/54 707s ok 427 /checksum/SHA1/55 707s ok 428 /checksum/SHA1/56 707s ok 429 /checksum/SHA1/57 707s ok 430 /checksum/SHA1/58 707s ok 431 /checksum/SHA1/59 707s ok 432 /checksum/SHA1/60 707s ok 433 /checksum/SHA1/61 707s ok 434 /checksum/SHA1/62 707s ok 435 /checksum/SHA1/63 707s ok 436 /checksum/SHA1/64 707s ok 437 /checksum/SHA1/65 707s ok 438 /checksum/SHA1/66 707s ok 439 /checksum/SHA1/67 707s ok 440 /checksum/SHA1/68 707s ok 441 /checksum/SHA1/69 707s ok 442 /checksum/SHA1/70 707s ok 443 /checksum/SHA1/71 707s ok 444 /checksum/SHA1/72 707s ok 445 /checksum/SHA1/73 707s ok 446 /checksum/SHA1/74 707s ok 447 /checksum/SHA1/75 707s ok 448 /checksum/SHA1/76 707s ok 449 /checksum/SHA1/77 707s ok 450 /checksum/SHA1/78 707s ok 451 /checksum/SHA1/79 707s ok 452 /checksum/SHA1/80 707s ok 453 /checksum/SHA1/81 707s ok 454 /checksum/SHA1/82 707s ok 455 /checksum/SHA1/83 707s ok 456 /checksum/SHA1/84 707s ok 457 /checksum/SHA1/85 707s ok 458 /checksum/SHA1/86 707s ok 459 /checksum/SHA1/87 707s ok 460 /checksum/SHA1/88 707s ok 461 /checksum/SHA1/89 707s ok 462 /checksum/SHA1/90 707s ok 463 /checksum/SHA1/91 707s ok 464 /checksum/SHA1/92 707s ok 465 /checksum/SHA1/93 707s ok 466 /checksum/SHA1/94 707s ok 467 /checksum/SHA1/95 707s ok 468 /checksum/SHA1/96 707s ok 469 /checksum/SHA1/97 707s ok 470 /checksum/SHA1/98 707s ok 471 /checksum/SHA1/99 707s ok 472 /checksum/SHA1/100 707s ok 473 /checksum/SHA1/101 707s ok 474 /checksum/SHA1/102 707s ok 475 /checksum/SHA1/103 707s ok 476 /checksum/SHA1/104 707s ok 477 /checksum/SHA1/105 707s ok 478 /checksum/SHA1/106 707s ok 479 /checksum/SHA1/107 707s ok 480 /checksum/SHA1/108 707s ok 481 /checksum/SHA1/109 707s ok 482 /checksum/SHA1/110 707s ok 483 /checksum/SHA1/111 707s ok 484 /checksum/SHA1/112 707s ok 485 /checksum/SHA1/113 707s ok 486 /checksum/SHA1/114 707s ok 487 /checksum/SHA1/115 707s ok 488 /checksum/SHA1/116 707s ok 489 /checksum/SHA1/117 707s ok 490 /checksum/SHA1/118 707s ok 491 /checksum/SHA1/119 707s ok 492 /checksum/SHA1/120 707s ok 493 /checksum/SHA1/121 707s ok 494 /checksum/SHA1/122 707s ok 495 /checksum/SHA1/123 707s ok 496 /checksum/SHA1/124 707s ok 497 /checksum/SHA1/125 707s ok 498 /checksum/SHA1/126 707s ok 499 /checksum/SHA1/127 707s ok 500 /checksum/SHA1/128 707s ok 501 /checksum/SHA1/129 707s ok 502 /checksum/SHA1/130 707s ok 503 /checksum/SHA1/131 707s ok 504 /checksum/SHA1/132 707s ok 505 /checksum/SHA1/133 707s ok 506 /checksum/SHA1/134 707s ok 507 /checksum/SHA1/135 707s ok 508 /checksum/SHA1/136 707s ok 509 /checksum/SHA1/137 707s ok 510 /checksum/SHA1/138 707s ok 511 /checksum/SHA1/139 707s ok 512 /checksum/SHA1/140 707s ok 513 /checksum/SHA1/141 707s ok 514 /checksum/SHA1/142 707s ok 515 /checksum/SHA1/143 707s ok 516 /checksum/SHA1/144 707s ok 517 /checksum/SHA1/145 707s ok 518 /checksum/SHA1/146 707s ok 519 /checksum/SHA1/147 707s ok 520 /checksum/SHA1/148 707s ok 521 /checksum/SHA1/149 707s ok 522 /checksum/SHA1/150 707s ok 523 /checksum/SHA1/151 707s ok 524 /checksum/SHA1/152 707s ok 525 /checksum/SHA1/153 707s ok 526 /checksum/SHA1/154 707s ok 527 /checksum/SHA1/155 707s ok 528 /checksum/SHA1/156 707s ok 529 /checksum/SHA1/157 707s ok 530 /checksum/SHA1/158 707s ok 531 /checksum/SHA1/159 707s ok 532 /checksum/SHA1/160 707s ok 533 /checksum/SHA1/161 707s ok 534 /checksum/SHA1/162 707s ok 535 /checksum/SHA1/163 707s ok 536 /checksum/SHA1/164 707s ok 537 /checksum/SHA1/165 707s ok 538 /checksum/SHA1/166 707s ok 539 /checksum/SHA1/167 707s ok 540 /checksum/SHA1/168 707s ok 541 /checksum/SHA1/169 707s ok 542 /checksum/SHA1/170 707s ok 543 /checksum/SHA1/171 707s ok 544 /checksum/SHA1/172 707s ok 545 /checksum/SHA1/173 707s ok 546 /checksum/SHA1/174 707s ok 547 /checksum/SHA1/175 707s ok 548 /checksum/SHA1/176 707s ok 549 /checksum/SHA1/177 707s ok 550 /checksum/SHA1/178 707s ok 551 /checksum/SHA1/179 707s ok 552 /checksum/SHA1/180 707s ok 553 /checksum/SHA1/181 707s ok 554 /checksum/SHA1/182 707s ok 555 /checksum/SHA1/183 707s ok 556 /checksum/SHA1/string 707s ok 557 /checksum/SHA1/bytes 707s # Start of reset tests 707s ok 558 /checksum/SHA1/reset/0 707s ok 559 /checksum/SHA1/reset/1 707s ok 560 /checksum/SHA1/reset/2 707s ok 561 /checksum/SHA1/reset/3 707s ok 562 /checksum/SHA1/reset/4 707s ok 563 /checksum/SHA1/reset/5 707s ok 564 /checksum/SHA1/reset/6 707s ok 565 /checksum/SHA1/reset/7 707s ok 566 /checksum/SHA1/reset/8 707s ok 567 /checksum/SHA1/reset/9 707s ok 568 /checksum/SHA1/reset/10 707s ok 569 /checksum/SHA1/reset/11 707s ok 570 /checksum/SHA1/reset/12 707s ok 571 /checksum/SHA1/reset/13 707s ok 572 /checksum/SHA1/reset/14 707s ok 573 /checksum/SHA1/reset/15 707s ok 574 /checksum/SHA1/reset/16 707s ok 575 /checksum/SHA1/reset/17 707s ok 576 /checksum/SHA1/reset/18 707s ok 577 /checksum/SHA1/reset/19 707s ok 578 /checksum/SHA1/reset/20 707s ok 579 /checksum/SHA1/reset/21 707s ok 580 /checksum/SHA1/reset/22 707s ok 581 /checksum/SHA1/reset/23 707s ok 582 /checksum/SHA1/reset/24 707s ok 583 /checksum/SHA1/reset/25 707s ok 584 /checksum/SHA1/reset/26 707s ok 585 /checksum/SHA1/reset/27 707s ok 586 /checksum/SHA1/reset/28 707s ok 587 /checksum/SHA1/reset/29 707s ok 588 /checksum/SHA1/reset/30 707s ok 589 /checksum/SHA1/reset/31 707s ok 590 /checksum/SHA1/reset/32 707s ok 591 /checksum/SHA1/reset/33 707s ok 592 /checksum/SHA1/reset/34 707s ok 593 /checksum/SHA1/reset/35 707s ok 594 /checksum/SHA1/reset/36 707s ok 595 /checksum/SHA1/reset/37 707s ok 596 /checksum/SHA1/reset/38 707s ok 597 /checksum/SHA1/reset/39 707s ok 598 /checksum/SHA1/reset/40 707s ok 599 /checksum/SHA1/reset/41 707s ok 600 /checksum/SHA1/reset/42 707s ok 601 /checksum/SHA1/reset/43 707s ok 602 /checksum/SHA1/reset/44 707s ok 603 /checksum/SHA1/reset/45 707s ok 604 /checksum/SHA1/reset/46 707s ok 605 /checksum/SHA1/reset/47 707s ok 606 /checksum/SHA1/reset/48 707s ok 607 /checksum/SHA1/reset/49 707s ok 608 /checksum/SHA1/reset/50 707s ok 609 /checksum/SHA1/reset/51 707s ok 610 /checksum/SHA1/reset/52 707s ok 611 /checksum/SHA1/reset/53 707s ok 612 /checksum/SHA1/reset/54 707s ok 613 /checksum/SHA1/reset/55 707s ok 614 /checksum/SHA1/reset/56 707s ok 615 /checksum/SHA1/reset/57 707s ok 616 /checksum/SHA1/reset/58 707s ok 617 /checksum/SHA1/reset/59 707s ok 618 /checksum/SHA1/reset/60 707s ok 619 /checksum/SHA1/reset/61 707s ok 620 /checksum/SHA1/reset/62 707s ok 621 /checksum/SHA1/reset/63 707s ok 622 /checksum/SHA1/reset/64 707s ok 623 /checksum/SHA1/reset/65 707s ok 624 /checksum/SHA1/reset/66 707s ok 625 /checksum/SHA1/reset/67 707s ok 626 /checksum/SHA1/reset/68 707s ok 627 /checksum/SHA1/reset/69 707s ok 628 /checksum/SHA1/reset/70 707s ok 629 /checksum/SHA1/reset/71 707s ok 630 /checksum/SHA1/reset/72 707s ok 631 /checksum/SHA1/reset/73 707s ok 632 /checksum/SHA1/reset/74 707s ok 633 /checksum/SHA1/reset/75 707s ok 634 /checksum/SHA1/reset/76 707s ok 635 /checksum/SHA1/reset/77 707s ok 636 /checksum/SHA1/reset/78 707s ok 637 /checksum/SHA1/reset/79 707s ok 638 /checksum/SHA1/reset/80 707s ok 639 /checksum/SHA1/reset/81 707s ok 640 /checksum/SHA1/reset/82 707s ok 641 /checksum/SHA1/reset/83 707s ok 642 /checksum/SHA1/reset/84 707s ok 643 /checksum/SHA1/reset/85 707s ok 644 /checksum/SHA1/reset/86 707s ok 645 /checksum/SHA1/reset/87 707s ok 646 /checksum/SHA1/reset/88 707s ok 647 /checksum/SHA1/reset/89 707s ok 648 /checksum/SHA1/reset/90 707s ok 649 /checksum/SHA1/reset/91 707s ok 650 /checksum/SHA1/reset/92 707s ok 651 /checksum/SHA1/reset/93 707s ok 652 /checksum/SHA1/reset/94 707s ok 653 /checksum/SHA1/reset/95 707s ok 654 /checksum/SHA1/reset/96 707s ok 655 /checksum/SHA1/reset/97 707s ok 656 /checksum/SHA1/reset/98 707s ok 657 /checksum/SHA1/reset/99 707s ok 658 /checksum/SHA1/reset/100 707s ok 659 /checksum/SHA1/reset/101 707s ok 660 /checksum/SHA1/reset/102 707s ok 661 /checksum/SHA1/reset/103 707s ok 662 /checksum/SHA1/reset/104 707s ok 663 /checksum/SHA1/reset/105 707s ok 664 /checksum/SHA1/reset/106 707s ok 665 /checksum/SHA1/reset/107 707s ok 666 /checksum/SHA1/reset/108 707s ok 667 /checksum/SHA1/reset/109 707s ok 668 /checksum/SHA1/reset/110 707s ok 669 /checksum/SHA1/reset/111 707s ok 670 /checksum/SHA1/reset/112 707s ok 671 /checksum/SHA1/reset/113 707s ok 672 /checksum/SHA1/reset/114 707s ok 673 /checksum/SHA1/reset/115 707s ok 674 /checksum/SHA1/reset/116 707s ok 675 /checksum/SHA1/reset/117 707s ok 676 /checksum/SHA1/reset/118 707s ok 677 /checksum/SHA1/reset/119 707s ok 678 /checksum/SHA1/reset/120 707s ok 679 /checksum/SHA1/reset/121 707s ok 680 /checksum/SHA1/reset/122 707s ok 681 /checksum/SHA1/reset/123 708s ok 682 /checksum/SHA1/reset/124 708s ok 683 /checksum/SHA1/reset/125 708s ok 684 /checksum/SHA1/reset/126 708s ok 685 /checksum/SHA1/reset/127 708s ok 686 /checksum/SHA1/reset/128 708s ok 687 /checksum/SHA1/reset/129 708s ok 688 /checksum/SHA1/reset/130 708s ok 689 /checksum/SHA1/reset/131 708s ok 690 /checksum/SHA1/reset/132 708s ok 691 /checksum/SHA1/reset/133 708s ok 692 /checksum/SHA1/reset/134 708s ok 693 /checksum/SHA1/reset/135 708s ok 694 /checksum/SHA1/reset/136 708s ok 695 /checksum/SHA1/reset/137 708s ok 696 /checksum/SHA1/reset/138 708s ok 697 /checksum/SHA1/reset/139 708s ok 698 /checksum/SHA1/reset/140 708s ok 699 /checksum/SHA1/reset/141 708s ok 700 /checksum/SHA1/reset/142 708s ok 701 /checksum/SHA1/reset/143 708s ok 702 /checksum/SHA1/reset/144 708s ok 703 /checksum/SHA1/reset/145 708s ok 704 /checksum/SHA1/reset/146 708s ok 705 /checksum/SHA1/reset/147 708s ok 706 /checksum/SHA1/reset/148 708s ok 707 /checksum/SHA1/reset/149 708s ok 708 /checksum/SHA1/reset/150 708s ok 709 /checksum/SHA1/reset/151 708s ok 710 /checksum/SHA1/reset/152 708s ok 711 /checksum/SHA1/reset/153 708s ok 712 /checksum/SHA1/reset/154 708s ok 713 /checksum/SHA1/reset/155 708s ok 714 /checksum/SHA1/reset/156 708s ok 715 /checksum/SHA1/reset/157 708s ok 716 /checksum/SHA1/reset/158 708s ok 717 /checksum/SHA1/reset/159 708s ok 718 /checksum/SHA1/reset/160 708s ok 719 /checksum/SHA1/reset/161 708s ok 720 /checksum/SHA1/reset/162 708s ok 721 /checksum/SHA1/reset/163 708s ok 722 /checksum/SHA1/reset/164 708s ok 723 /checksum/SHA1/reset/165 708s ok 724 /checksum/SHA1/reset/166 708s ok 725 /checksum/SHA1/reset/167 708s ok 726 /checksum/SHA1/reset/168 708s ok 727 /checksum/SHA1/reset/169 708s ok 728 /checksum/SHA1/reset/170 708s ok 729 /checksum/SHA1/reset/171 708s ok 730 /checksum/SHA1/reset/172 708s ok 731 /checksum/SHA1/reset/173 708s ok 732 /checksum/SHA1/reset/174 708s ok 733 /checksum/SHA1/reset/175 708s ok 734 /checksum/SHA1/reset/176 708s ok 735 /checksum/SHA1/reset/177 708s ok 736 /checksum/SHA1/reset/178 708s ok 737 /checksum/SHA1/reset/179 708s ok 738 /checksum/SHA1/reset/180 708s ok 739 /checksum/SHA1/reset/181 708s ok 740 /checksum/SHA1/reset/182 708s ok 741 /checksum/SHA1/reset/183 708s # End of reset tests 708s # End of SHA1 tests 708s # Start of SHA256 tests 708s ok 742 /checksum/SHA256/0 708s ok 743 /checksum/SHA256/1 708s ok 744 /checksum/SHA256/2 708s ok 745 /checksum/SHA256/3 708s ok 746 /checksum/SHA256/4 708s ok 747 /checksum/SHA256/5 708s ok 748 /checksum/SHA256/6 708s ok 749 /checksum/SHA256/7 708s ok 750 /checksum/SHA256/8 708s ok 751 /checksum/SHA256/9 708s ok 752 /checksum/SHA256/10 708s ok 753 /checksum/SHA256/11 708s ok 754 /checksum/SHA256/12 708s ok 755 /checksum/SHA256/13 708s ok 756 /checksum/SHA256/14 708s ok 757 /checksum/SHA256/15 708s ok 758 /checksum/SHA256/16 708s ok 759 /checksum/SHA256/17 708s ok 760 /checksum/SHA256/18 708s ok 761 /checksum/SHA256/19 708s ok 762 /checksum/SHA256/20 708s ok 763 /checksum/SHA256/21 708s ok 764 /checksum/SHA256/22 708s ok 765 /checksum/SHA256/23 708s ok 766 /checksum/SHA256/24 708s ok 767 /checksum/SHA256/25 708s ok 768 /checksum/SHA256/26 708s ok 769 /checksum/SHA256/27 708s ok 770 /checksum/SHA256/28 708s ok 771 /checksum/SHA256/29 708s ok 772 /checksum/SHA256/30 708s ok 773 /checksum/SHA256/31 708s ok 774 /checksum/SHA256/32 708s ok 775 /checksum/SHA256/33 708s ok 776 /checksum/SHA256/34 708s ok 777 /checksum/SHA256/35 708s ok 778 /checksum/SHA256/36 708s ok 779 /checksum/SHA256/37 708s ok 780 /checksum/SHA256/38 708s ok 781 /checksum/SHA256/39 708s ok 782 /checksum/SHA256/40 708s ok 783 /checksum/SHA256/41 708s ok 784 /checksum/SHA256/42 708s ok 785 /checksum/SHA256/43 708s ok 786 /checksum/SHA256/44 708s ok 787 /checksum/SHA256/45 708s ok 788 /checksum/SHA256/46 708s ok 789 /checksum/SHA256/47 708s ok 790 /checksum/SHA256/48 708s ok 791 /checksum/SHA256/49 708s ok 792 /checksum/SHA256/50 708s ok 793 /checksum/SHA256/51 708s ok 794 /checksum/SHA256/52 708s ok 795 /checksum/SHA256/53 708s ok 796 /checksum/SHA256/54 708s ok 797 /checksum/SHA256/55 708s ok 798 /checksum/SHA256/56 708s ok 799 /checksum/SHA256/57 708s ok 800 /checksum/SHA256/58 708s ok 801 /checksum/SHA256/59 708s ok 802 /checksum/SHA256/60 708s ok 803 /checksum/SHA256/61 708s ok 804 /checksum/SHA256/62 708s ok 805 /checksum/SHA256/63 708s ok 806 /checksum/SHA256/64 708s ok 807 /checksum/SHA256/65 708s ok 808 /checksum/SHA256/66 708s ok 809 /checksum/SHA256/67 708s ok 810 /checksum/SHA256/68 708s ok 811 /checksum/SHA256/69 708s ok 812 /checksum/SHA256/70 708s ok 813 /checksum/SHA256/71 708s ok 814 /checksum/SHA256/72 708s ok 815 /checksum/SHA256/73 708s ok 816 /checksum/SHA256/74 708s ok 817 /checksum/SHA256/75 708s ok 818 /checksum/SHA256/76 708s ok 819 /checksum/SHA256/77 708s ok 820 /checksum/SHA256/78 708s ok 821 /checksum/SHA256/79 708s ok 822 /checksum/SHA256/80 708s ok 823 /checksum/SHA256/81 708s ok 824 /checksum/SHA256/82 708s ok 825 /checksum/SHA256/83 708s ok 826 /checksum/SHA256/84 708s ok 827 /checksum/SHA256/85 708s ok 828 /checksum/SHA256/86 708s ok 829 /checksum/SHA256/87 708s ok 830 /checksum/SHA256/88 708s ok 831 /checksum/SHA256/89 708s ok 832 /checksum/SHA256/90 708s ok 833 /checksum/SHA256/91 708s ok 834 /checksum/SHA256/92 708s ok 835 /checksum/SHA256/93 708s ok 836 /checksum/SHA256/94 708s ok 837 /checksum/SHA256/95 708s ok 838 /checksum/SHA256/96 708s ok 839 /checksum/SHA256/97 708s ok 840 /checksum/SHA256/98 708s ok 841 /checksum/SHA256/99 708s ok 842 /checksum/SHA256/100 708s ok 843 /checksum/SHA256/101 708s ok 844 /checksum/SHA256/102 708s ok 845 /checksum/SHA256/103 708s ok 846 /checksum/SHA256/104 708s ok 847 /checksum/SHA256/105 708s ok 848 /checksum/SHA256/106 708s ok 849 /checksum/SHA256/107 708s ok 850 /checksum/SHA256/108 708s ok 851 /checksum/SHA256/109 708s ok 852 /checksum/SHA256/110 708s ok 853 /checksum/SHA256/111 708s ok 854 /checksum/SHA256/112 708s ok 855 /checksum/SHA256/113 708s ok 856 /checksum/SHA256/114 708s ok 857 /checksum/SHA256/115 708s ok 858 /checksum/SHA256/116 708s ok 859 /checksum/SHA256/117 708s ok 860 /checksum/SHA256/118 708s ok 861 /checksum/SHA256/119 708s ok 862 /checksum/SHA256/120 708s ok 863 /checksum/SHA256/121 708s ok 864 /checksum/SHA256/122 708s ok 865 /checksum/SHA256/123 708s ok 866 /checksum/SHA256/124 708s ok 867 /checksum/SHA256/125 708s ok 868 /checksum/SHA256/126 708s ok 869 /checksum/SHA256/127 708s ok 870 /checksum/SHA256/128 708s ok 871 /checksum/SHA256/129 708s ok 872 /checksum/SHA256/130 708s ok 873 /checksum/SHA256/131 708s ok 874 /checksum/SHA256/132 708s ok 875 /checksum/SHA256/133 708s ok 876 /checksum/SHA256/134 708s ok 877 /checksum/SHA256/135 708s ok 878 /checksum/SHA256/136 708s ok 879 /checksum/SHA256/137 708s ok 880 /checksum/SHA256/138 708s ok 881 /checksum/SHA256/139 708s ok 882 /checksum/SHA256/140 708s ok 883 /checksum/SHA256/141 708s ok 884 /checksum/SHA256/142 708s ok 885 /checksum/SHA256/143 708s ok 886 /checksum/SHA256/144 708s ok 887 /checksum/SHA256/145 708s ok 888 /checksum/SHA256/146 708s ok 889 /checksum/SHA256/147 708s ok 890 /checksum/SHA256/148 708s ok 891 /checksum/SHA256/149 708s ok 892 /checksum/SHA256/150 708s ok 893 /checksum/SHA256/151 708s ok 894 /checksum/SHA256/152 708s ok 895 /checksum/SHA256/153 708s ok 896 /checksum/SHA256/154 708s ok 897 /checksum/SHA256/155 708s ok 898 /checksum/SHA256/156 708s ok 899 /checksum/SHA256/157 708s ok 900 /checksum/SHA256/158 708s ok 901 /checksum/SHA256/159 708s ok 902 /checksum/SHA256/160 708s ok 903 /checksum/SHA256/161 708s ok 904 /checksum/SHA256/162 708s ok 905 /checksum/SHA256/163 708s ok 906 /checksum/SHA256/164 708s ok 907 /checksum/SHA256/165 708s ok 908 /checksum/SHA256/166 708s ok 909 /checksum/SHA256/167 708s ok 910 /checksum/SHA256/168 708s ok 911 /checksum/SHA256/169 708s ok 912 /checksum/SHA256/170 708s ok 913 /checksum/SHA256/171 708s ok 914 /checksum/SHA256/172 708s ok 915 /checksum/SHA256/173 708s ok 916 /checksum/SHA256/174 708s ok 917 /checksum/SHA256/175 708s ok 918 /checksum/SHA256/176 708s ok 919 /checksum/SHA256/177 708s ok 920 /checksum/SHA256/178 708s ok 921 /checksum/SHA256/179 708s ok 922 /checksum/SHA256/180 708s ok 923 /checksum/SHA256/181 708s ok 924 /checksum/SHA256/182 708s ok 925 /checksum/SHA256/183 708s ok 926 /checksum/SHA256/string 708s ok 927 /checksum/SHA256/bytes 708s # Start of reset tests 708s ok 928 /checksum/SHA256/reset/0 708s ok 929 /checksum/SHA256/reset/1 708s ok 930 /checksum/SHA256/reset/2 708s ok 931 /checksum/SHA256/reset/3 708s ok 932 /checksum/SHA256/reset/4 708s ok 933 /checksum/SHA256/reset/5 708s ok 934 /checksum/SHA256/reset/6 708s ok 935 /checksum/SHA256/reset/7 708s ok 936 /checksum/SHA256/reset/8 708s ok 937 /checksum/SHA256/reset/9 708s ok 938 /checksum/SHA256/reset/10 708s ok 939 /checksum/SHA256/reset/11 708s ok 940 /checksum/SHA256/reset/12 708s ok 941 /checksum/SHA256/reset/13 708s ok 942 /checksum/SHA256/reset/14 708s ok 943 /checksum/SHA256/reset/15 708s ok 944 /checksum/SHA256/reset/16 708s ok 945 /checksum/SHA256/reset/17 708s ok 946 /checksum/SHA256/reset/18 708s ok 947 /checksum/SHA256/reset/19 708s ok 948 /checksum/SHA256/reset/20 708s ok 949 /checksum/SHA256/reset/21 708s ok 950 /checksum/SHA256/reset/22 708s ok 951 /checksum/SHA256/reset/23 708s ok 952 /checksum/SHA256/reset/24 708s ok 953 /checksum/SHA256/reset/25 708s ok 954 /checksum/SHA256/reset/26 708s ok 955 /checksum/SHA256/reset/27 708s ok 956 /checksum/SHA256/reset/28 708s ok 957 /checksum/SHA256/reset/29 708s ok 958 /checksum/SHA256/reset/30 708s ok 959 /checksum/SHA256/reset/31 708s ok 960 /checksum/SHA256/reset/32 708s ok 961 /checksum/SHA256/reset/33 708s ok 962 /checksum/SHA256/reset/34 708s ok 963 /checksum/SHA256/reset/35 708s ok 964 /checksum/SHA256/reset/36 708s ok 965 /checksum/SHA256/reset/37 708s ok 966 /checksum/SHA256/reset/38 708s ok 967 /checksum/SHA256/reset/39 708s ok 968 /checksum/SHA256/reset/40 708s ok 969 /checksum/SHA256/reset/41 708s ok 970 /checksum/SHA256/reset/42 708s ok 971 /checksum/SHA256/reset/43 708s ok 972 /checksum/SHA256/reset/44 708s ok 973 /checksum/SHA256/reset/45 708s ok 974 /checksum/SHA256/reset/46 708s ok 975 /checksum/SHA256/reset/47 708s ok 976 /checksum/SHA256/reset/48 708s ok 977 /checksum/SHA256/reset/49 708s ok 978 /checksum/SHA256/reset/50 708s ok 979 /checksum/SHA256/reset/51 708s ok 980 /checksum/SHA256/reset/52 708s ok 981 /checksum/SHA256/reset/53 708s ok 982 /checksum/SHA256/reset/54 708s ok 983 /checksum/SHA256/reset/55 708s ok 984 /checksum/SHA256/reset/56 708s ok 985 /checksum/SHA256/reset/57 708s ok 986 /checksum/SHA256/reset/58 708s ok 987 /checksum/SHA256/reset/59 708s ok 988 /checksum/SHA256/reset/60 708s ok 989 /checksum/SHA256/reset/61 708s ok 990 /checksum/SHA256/reset/62 708s ok 991 /checksum/SHA256/reset/63 708s ok 992 /checksum/SHA256/reset/64 708s ok 993 /checksum/SHA256/reset/65 708s ok 994 /checksum/SHA256/reset/66 708s ok 995 /checksum/SHA256/reset/67 708s ok 996 /checksum/SHA256/reset/68 708s ok 997 /checksum/SHA256/reset/69 708s ok 998 /checksum/SHA256/reset/70 708s ok 999 /checksum/SHA256/reset/71 708s ok 1000 /checksum/SHA256/reset/72 708s ok 1001 /checksum/SHA256/reset/73 708s ok 1002 /checksum/SHA256/reset/74 708s ok 1003 /checksum/SHA256/reset/75 708s ok 1004 /checksum/SHA256/reset/76 708s ok 1005 /checksum/SHA256/reset/77 708s ok 1006 /checksum/SHA256/reset/78 708s ok 1007 /checksum/SHA256/reset/79 708s ok 1008 /checksum/SHA256/reset/80 708s ok 1009 /checksum/SHA256/reset/81 708s ok 1010 /checksum/SHA256/reset/82 708s ok 1011 /checksum/SHA256/reset/83 708s ok 1012 /checksum/SHA256/reset/84 708s ok 1013 /checksum/SHA256/reset/85 708s ok 1014 /checksum/SHA256/reset/86 708s ok 1015 /checksum/SHA256/reset/87 708s ok 1016 /checksum/SHA256/reset/88 708s ok 1017 /checksum/SHA256/reset/89 708s ok 1018 /checksum/SHA256/reset/90 708s ok 1019 /checksum/SHA256/reset/91 708s ok 1020 /checksum/SHA256/reset/92 708s ok 1021 /checksum/SHA256/reset/93 708s ok 1022 /checksum/SHA256/reset/94 708s ok 1023 /checksum/SHA256/reset/95 708s ok 1024 /checksum/SHA256/reset/96 708s ok 1025 /checksum/SHA256/reset/97 708s ok 1026 /checksum/SHA256/reset/98 708s ok 1027 /checksum/SHA256/reset/99 708s ok 1028 /checksum/SHA256/reset/100 708s ok 1029 /checksum/SHA256/reset/101 708s ok 1030 /checksum/SHA256/reset/102 708s ok 1031 /checksum/SHA256/reset/103 708s ok 1032 /checksum/SHA256/reset/104 708s ok 1033 /checksum/SHA256/reset/105 708s ok 1034 /checksum/SHA256/reset/106 708s ok 1035 /checksum/SHA256/reset/107 708s ok 1036 /checksum/SHA256/reset/108 708s ok 1037 /checksum/SHA256/reset/109 708s ok 1038 /checksum/SHA256/reset/110 708s ok 1039 /checksum/SHA256/reset/111 708s ok 1040 /checksum/SHA256/reset/112 708s ok 1041 /checksum/SHA256/reset/113 708s ok 1042 /checksum/SHA256/reset/114 708s ok 1043 /checksum/SHA256/reset/115 708s ok 1044 /checksum/SHA256/reset/116 708s ok 1045 /checksum/SHA256/reset/117 708s ok 1046 /checksum/SHA256/reset/118 708s ok 1047 /checksum/SHA256/reset/119 708s ok 1048 /checksum/SHA256/reset/120 708s ok 1049 /checksum/SHA256/reset/121 708s ok 1050 /checksum/SHA256/reset/122 708s ok 1051 /checksum/SHA256/reset/123 708s ok 1052 /checksum/SHA256/reset/124 708s ok 1053 /checksum/SHA256/reset/125 708s ok 1054 /checksum/SHA256/reset/126 708s ok 1055 /checksum/SHA256/reset/127 708s ok 1056 /checksum/SHA256/reset/128 708s ok 1057 /checksum/SHA256/reset/129 708s ok 1058 /checksum/SHA256/reset/130 708s ok 1059 /checksum/SHA256/reset/131 708s ok 1060 /checksum/SHA256/reset/132 708s ok 1061 /checksum/SHA256/reset/133 708s ok 1062 /checksum/SHA256/reset/134 708s ok 1063 /checksum/SHA256/reset/135 708s ok 1064 /checksum/SHA256/reset/136 708s ok 1065 /checksum/SHA256/reset/137 708s ok 1066 /checksum/SHA256/reset/138 708s ok 1067 /checksum/SHA256/reset/139 708s ok 1068 /checksum/SHA256/reset/140 708s ok 1069 /checksum/SHA256/reset/141 708s ok 1070 /checksum/SHA256/reset/142 708s ok 1071 /checksum/SHA256/reset/143 708s ok 1072 /checksum/SHA256/reset/144 708s ok 1073 /checksum/SHA256/reset/145 708s ok 1074 /checksum/SHA256/reset/146 708s ok 1075 /checksum/SHA256/reset/147 708s ok 1076 /checksum/SHA256/reset/148 708s ok 1077 /checksum/SHA256/reset/149 708s ok 1078 /checksum/SHA256/reset/150 708s ok 1079 /checksum/SHA256/reset/151 708s ok 1080 /checksum/SHA256/reset/152 708s ok 1081 /checksum/SHA256/reset/153 708s ok 1082 /checksum/SHA256/reset/154 708s ok 1083 /checksum/SHA256/reset/155 708s ok 1084 /checksum/SHA256/reset/156 708s ok 1085 /checksum/SHA256/reset/157 708s ok 1086 /checksum/SHA256/reset/158 708s ok 1087 /checksum/SHA256/reset/159 708s ok 1088 /checksum/SHA256/reset/160 708s ok 1089 /checksum/SHA256/reset/161 708s ok 1090 /checksum/SHA256/reset/162 708s ok 1091 /checksum/SHA256/reset/163 708s ok 1092 /checksum/SHA256/reset/164 708s ok 1093 /checksum/SHA256/reset/165 708s ok 1094 /checksum/SHA256/reset/166 708s ok 1095 /checksum/SHA256/reset/167 708s ok 1096 /checksum/SHA256/reset/168 708s ok 1097 /checksum/SHA256/reset/169 708s ok 1098 /checksum/SHA256/reset/170 708s ok 1099 /checksum/SHA256/reset/171 708s ok 1100 /checksum/SHA256/reset/172 708s ok 1101 /checksum/SHA256/reset/173 708s ok 1102 /checksum/SHA256/reset/174 708s ok 1103 /checksum/SHA256/reset/175 708s ok 1104 /checksum/SHA256/reset/176 708s ok 1105 /checksum/SHA256/reset/177 708s ok 1106 /checksum/SHA256/reset/178 708s ok 1107 /checksum/SHA256/reset/179 708s ok 1108 /checksum/SHA256/reset/180 708s ok 1109 /checksum/SHA256/reset/181 708s ok 1110 /checksum/SHA256/reset/182 708s ok 1111 /checksum/SHA256/reset/183 708s # End of reset tests 708s # End of SHA256 tests 708s # Start of SHA384 tests 708s ok 1112 /checksum/SHA384/0 708s ok 1113 /checksum/SHA384/1 708s ok 1114 /checksum/SHA384/2 708s ok 1115 /checksum/SHA384/3 708s ok 1116 /checksum/SHA384/4 708s ok 1117 /checksum/SHA384/5 708s ok 1118 /checksum/SHA384/6 708s ok 1119 /checksum/SHA384/7 708s ok 1120 /checksum/SHA384/8 708s ok 1121 /checksum/SHA384/9 708s ok 1122 /checksum/SHA384/10 708s ok 1123 /checksum/SHA384/11 708s ok 1124 /checksum/SHA384/12 708s ok 1125 /checksum/SHA384/13 708s ok 1126 /checksum/SHA384/14 708s ok 1127 /checksum/SHA384/15 708s ok 1128 /checksum/SHA384/16 708s ok 1129 /checksum/SHA384/17 708s ok 1130 /checksum/SHA384/18 708s ok 1131 /checksum/SHA384/19 708s ok 1132 /checksum/SHA384/20 708s ok 1133 /checksum/SHA384/21 708s ok 1134 /checksum/SHA384/22 708s ok 1135 /checksum/SHA384/23 708s ok 1136 /checksum/SHA384/24 708s ok 1137 /checksum/SHA384/25 708s ok 1138 /checksum/SHA384/26 708s ok 1139 /checksum/SHA384/27 708s ok 1140 /checksum/SHA384/28 708s ok 1141 /checksum/SHA384/29 708s ok 1142 /checksum/SHA384/30 708s ok 1143 /checksum/SHA384/31 708s ok 1144 /checksum/SHA384/32 708s ok 1145 /checksum/SHA384/33 708s ok 1146 /checksum/SHA384/34 708s ok 1147 /checksum/SHA384/35 708s ok 1148 /checksum/SHA384/36 708s ok 1149 /checksum/SHA384/37 708s ok 1150 /checksum/SHA384/38 708s ok 1151 /checksum/SHA384/39 708s ok 1152 /checksum/SHA384/40 708s ok 1153 /checksum/SHA384/41 708s ok 1154 /checksum/SHA384/42 708s ok 1155 /checksum/SHA384/43 708s ok 1156 /checksum/SHA384/44 708s ok 1157 /checksum/SHA384/45 708s ok 1158 /checksum/SHA384/46 708s ok 1159 /checksum/SHA384/47 708s ok 1160 /checksum/SHA384/48 708s ok 1161 /checksum/SHA384/49 708s ok 1162 /checksum/SHA384/50 708s ok 1163 /checksum/SHA384/51 708s ok 1164 /checksum/SHA384/52 708s ok 1165 /checksum/SHA384/53 708s ok 1166 /checksum/SHA384/54 708s ok 1167 /checksum/SHA384/55 708s ok 1168 /checksum/SHA384/56 708s ok 1169 /checksum/SHA384/57 708s ok 1170 /checksum/SHA384/58 708s ok 1171 /checksum/SHA384/59 708s ok 1172 /checksum/SHA384/60 708s ok 1173 /checksum/SHA384/61 708s ok 1174 /checksum/SHA384/62 708s ok 1175 /checksum/SHA384/63 708s ok 1176 /checksum/SHA384/64 708s ok 1177 /checksum/SHA384/65 708s ok 1178 /checksum/SHA384/66 708s ok 1179 /checksum/SHA384/67 708s ok 1180 /checksum/SHA384/68 708s ok 1181 /checksum/SHA384/69 708s ok 1182 /checksum/SHA384/70 708s ok 1183 /checksum/SHA384/71 708s ok 1184 /checksum/SHA384/72 708s ok 1185 /checksum/SHA384/73 708s ok 1186 /checksum/SHA384/74 708s ok 1187 /checksum/SHA384/75 708s ok 1188 /checksum/SHA384/76 708s ok 1189 /checksum/SHA384/77 708s ok 1190 /checksum/SHA384/78 708s ok 1191 /checksum/SHA384/79 708s ok 1192 /checksum/SHA384/80 708s ok 1193 /checksum/SHA384/81 708s ok 1194 /checksum/SHA384/82 708s ok 1195 /checksum/SHA384/83 708s ok 1196 /checksum/SHA384/84 708s ok 1197 /checksum/SHA384/85 708s ok 1198 /checksum/SHA384/86 708s ok 1199 /checksum/SHA384/87 708s ok 1200 /checksum/SHA384/88 708s ok 1201 /checksum/SHA384/89 708s ok 1202 /checksum/SHA384/90 708s ok 1203 /checksum/SHA384/91 708s ok 1204 /checksum/SHA384/92 708s ok 1205 /checksum/SHA384/93 708s ok 1206 /checksum/SHA384/94 708s ok 1207 /checksum/SHA384/95 708s ok 1208 /checksum/SHA384/96 708s ok 1209 /checksum/SHA384/97 708s ok 1210 /checksum/SHA384/98 708s ok 1211 /checksum/SHA384/99 708s ok 1212 /checksum/SHA384/100 708s ok 1213 /checksum/SHA384/101 708s ok 1214 /checksum/SHA384/102 708s ok 1215 /checksum/SHA384/103 708s ok 1216 /checksum/SHA384/104 708s ok 1217 /checksum/SHA384/105 708s ok 1218 /checksum/SHA384/106 708s ok 1219 /checksum/SHA384/107 708s ok 1220 /checksum/SHA384/108 708s ok 1221 /checksum/SHA384/109 708s ok 1222 /checksum/SHA384/110 708s ok 1223 /checksum/SHA384/111 708s ok 1224 /checksum/SHA384/112 708s ok 1225 /checksum/SHA384/113 708s ok 1226 /checksum/SHA384/114 708s ok 1227 /checksum/SHA384/115 708s ok 1228 /checksum/SHA384/116 708s ok 1229 /checksum/SHA384/117 708s ok 1230 /checksum/SHA384/118 708s ok 1231 /checksum/SHA384/119 708s ok 1232 /checksum/SHA384/120 708s ok 1233 /checksum/SHA384/121 708s ok 1234 /checksum/SHA384/122 708s ok 1235 /checksum/SHA384/123 708s ok 1236 /checksum/SHA384/124 708s ok 1237 /checksum/SHA384/125 708s ok 1238 /checksum/SHA384/126 708s ok 1239 /checksum/SHA384/127 708s ok 1240 /checksum/SHA384/128 708s ok 1241 /checksum/SHA384/129 708s ok 1242 /checksum/SHA384/130 708s ok 1243 /checksum/SHA384/131 708s ok 1244 /checksum/SHA384/132 708s ok 1245 /checksum/SHA384/133 708s ok 1246 /checksum/SHA384/134 708s ok 1247 /checksum/SHA384/135 708s ok 1248 /checksum/SHA384/136 708s ok 1249 /checksum/SHA384/137 708s ok 1250 /checksum/SHA384/138 708s ok 1251 /checksum/SHA384/139 708s ok 1252 /checksum/SHA384/140 708s ok 1253 /checksum/SHA384/141 708s ok 1254 /checksum/SHA384/142 708s ok 1255 /checksum/SHA384/143 708s ok 1256 /checksum/SHA384/144 708s ok 1257 /checksum/SHA384/145 708s ok 1258 /checksum/SHA384/146 708s ok 1259 /checksum/SHA384/147 708s ok 1260 /checksum/SHA384/148 708s ok 1261 /checksum/SHA384/149 708s ok 1262 /checksum/SHA384/150 708s ok 1263 /checksum/SHA384/151 708s ok 1264 /checksum/SHA384/152 708s ok 1265 /checksum/SHA384/153 708s ok 1266 /checksum/SHA384/154 708s ok 1267 /checksum/SHA384/155 708s ok 1268 /checksum/SHA384/156 708s ok 1269 /checksum/SHA384/157 708s ok 1270 /checksum/SHA384/158 708s ok 1271 /checksum/SHA384/159 708s ok 1272 /checksum/SHA384/160 708s ok 1273 /checksum/SHA384/161 708s ok 1274 /checksum/SHA384/162 708s ok 1275 /checksum/SHA384/163 708s ok 1276 /checksum/SHA384/164 708s ok 1277 /checksum/SHA384/165 708s ok 1278 /checksum/SHA384/166 708s ok 1279 /checksum/SHA384/167 708s ok 1280 /checksum/SHA384/168 708s ok 1281 /checksum/SHA384/169 708s ok 1282 /checksum/SHA384/170 708s ok 1283 /checksum/SHA384/171 708s ok 1284 /checksum/SHA384/172 708s ok 1285 /checksum/SHA384/173 708s ok 1286 /checksum/SHA384/174 708s ok 1287 /checksum/SHA384/175 708s ok 1288 /checksum/SHA384/176 708s ok 1289 /checksum/SHA384/177 708s ok 1290 /checksum/SHA384/178 708s ok 1291 /checksum/SHA384/179 708s ok 1292 /checksum/SHA384/180 708s ok 1293 /checksum/SHA384/181 708s ok 1294 /checksum/SHA384/182 708s ok 1295 /checksum/SHA384/183 708s ok 1296 /checksum/SHA384/string 708s ok 1297 /checksum/SHA384/bytes 708s # Start of reset tests 708s ok 1298 /checksum/SHA384/reset/0 708s ok 1299 /checksum/SHA384/reset/1 708s ok 1300 /checksum/SHA384/reset/2 708s ok 1301 /checksum/SHA384/reset/3 708s ok 1302 /checksum/SHA384/reset/4 708s ok 1303 /checksum/SHA384/reset/5 708s ok 1304 /checksum/SHA384/reset/6 708s ok 1305 /checksum/SHA384/reset/7 708s ok 1306 /checksum/SHA384/reset/8 708s ok 1307 /checksum/SHA384/reset/9 708s ok 1308 /checksum/SHA384/reset/10 708s ok 1309 /checksum/SHA384/reset/11 708s ok 1310 /checksum/SHA384/reset/12 708s ok 1311 /checksum/SHA384/reset/13 708s ok 1312 /checksum/SHA384/reset/14 708s ok 1313 /checksum/SHA384/reset/15 708s ok 1314 /checksum/SHA384/reset/16 708s ok 1315 /checksum/SHA384/reset/17 708s ok 1316 /checksum/SHA384/reset/18 708s ok 1317 /checksum/SHA384/reset/19 708s ok 1318 /checksum/SHA384/reset/20 708s ok 1319 /checksum/SHA384/reset/21 708s ok 1320 /checksum/SHA384/reset/22 708s ok 1321 /checksum/SHA384/reset/23 708s ok 1322 /checksum/SHA384/reset/24 708s ok 1323 /checksum/SHA384/reset/25 708s ok 1324 /checksum/SHA384/reset/26 708s ok 1325 /checksum/SHA384/reset/27 708s ok 1326 /checksum/SHA384/reset/28 708s ok 1327 /checksum/SHA384/reset/29 708s ok 1328 /checksum/SHA384/reset/30 708s ok 1329 /checksum/SHA384/reset/31 708s ok 1330 /checksum/SHA384/reset/32 708s ok 1331 /checksum/SHA384/reset/33 708s ok 1332 /checksum/SHA384/reset/34 708s ok 1333 /checksum/SHA384/reset/35 708s ok 1334 /checksum/SHA384/reset/36 708s ok 1335 /checksum/SHA384/reset/37 708s ok 1336 /checksum/SHA384/reset/38 708s ok 1337 /checksum/SHA384/reset/39 708s ok 1338 /checksum/SHA384/reset/40 708s ok 1339 /checksum/SHA384/reset/41 708s ok 1340 /checksum/SHA384/reset/42 708s ok 1341 /checksum/SHA384/reset/43 708s ok 1342 /checksum/SHA384/reset/44 708s ok 1343 /checksum/SHA384/reset/45 708s ok 1344 /checksum/SHA384/reset/46 708s ok 1345 /checksum/SHA384/reset/47 708s ok 1346 /checksum/SHA384/reset/48 708s ok 1347 /checksum/SHA384/reset/49 708s ok 1348 /checksum/SHA384/reset/50 708s ok 1349 /checksum/SHA384/reset/51 708s ok 1350 /checksum/SHA384/reset/52 708s ok 1351 /checksum/SHA384/reset/53 708s ok 1352 /checksum/SHA384/reset/54 708s ok 1353 /checksum/SHA384/reset/55 708s ok 1354 /checksum/SHA384/reset/56 708s ok 1355 /checksum/SHA384/reset/57 708s ok 1356 /checksum/SHA384/reset/58 708s ok 1357 /checksum/SHA384/reset/59 708s ok 1358 /checksum/SHA384/reset/60 708s ok 1359 /checksum/SHA384/reset/61 708s ok 1360 /checksum/SHA384/reset/62 708s ok 1361 /checksum/SHA384/reset/63 708s ok 1362 /checksum/SHA384/reset/64 708s ok 1363 /checksum/SHA384/reset/65 708s ok 1364 /checksum/SHA384/reset/66 708s ok 1365 /checksum/SHA384/reset/67 708s ok 1366 /checksum/SHA384/reset/68 708s ok 1367 /checksum/SHA384/reset/69 708s ok 1368 /checksum/SHA384/reset/70 708s ok 1369 /checksum/SHA384/reset/71 708s ok 1370 /checksum/SHA384/reset/72 708s ok 1371 /checksum/SHA384/reset/73 708s ok 1372 /checksum/SHA384/reset/74 708s ok 1373 /checksum/SHA384/reset/75 708s ok 1374 /checksum/SHA384/reset/76 708s ok 1375 /checksum/SHA384/reset/77 708s ok 1376 /checksum/SHA384/reset/78 708s ok 1377 /checksum/SHA384/reset/79 708s ok 1378 /checksum/SHA384/reset/80 708s ok 1379 /checksum/SHA384/reset/81 708s ok 1380 /checksum/SHA384/reset/82 708s ok 1381 /checksum/SHA384/reset/83 708s ok 1382 /checksum/SHA384/reset/84 708s ok 1383 /checksum/SHA384/reset/85 708s ok 1384 /checksum/SHA384/reset/86 708s ok 1385 /checksum/SHA384/reset/87 708s ok 1386 /checksum/SHA384/reset/88 708s ok 1387 /checksum/SHA384/reset/89 708s ok 1388 /checksum/SHA384/reset/90 708s ok 1389 /checksum/SHA384/reset/91 708s ok 1390 /checksum/SHA384/reset/92 708s ok 1391 /checksum/SHA384/reset/93 708s ok 1392 /checksum/SHA384/reset/94 708s ok 1393 /checksum/SHA384/reset/95 708s ok 1394 /checksum/SHA384/reset/96 708s ok 1395 /checksum/SHA384/reset/97 708s ok 1396 /checksum/SHA384/reset/98 708s ok 1397 /checksum/SHA384/reset/99 708s ok 1398 /checksum/SHA384/reset/100 708s ok 1399 /checksum/SHA384/reset/101 708s ok 1400 /checksum/SHA384/reset/102 708s ok 1401 /checksum/SHA384/reset/103 708s ok 1402 /checksum/SHA384/reset/104 708s ok 1403 /checksum/SHA384/reset/105 708s ok 1404 /checksum/SHA384/reset/106 708s ok 1405 /checksum/SHA384/reset/107 708s ok 1406 /checksum/SHA384/reset/108 708s ok 1407 /checksum/SHA384/reset/109 708s ok 1408 /checksum/SHA384/reset/110 708s ok 1409 /checksum/SHA384/reset/111 708s ok 1410 /checksum/SHA384/reset/112 708s ok 1411 /checksum/SHA384/reset/113 708s ok 1412 /checksum/SHA384/reset/114 708s ok 1413 /checksum/SHA384/reset/115 708s ok 1414 /checksum/SHA384/reset/116 708s ok 1415 /checksum/SHA384/reset/117 708s ok 1416 /checksum/SHA384/reset/118 708s ok 1417 /checksum/SHA384/reset/119 708s ok 1418 /checksum/SHA384/reset/120 708s ok 1419 /checksum/SHA384/reset/121 708s ok 1420 /checksum/SHA384/reset/122 708s ok 1421 /checksum/SHA384/reset/123 708s ok 1422 /checksum/SHA384/reset/124 708s ok 1423 /checksum/SHA384/reset/125 708s ok 1424 /checksum/SHA384/reset/126 708s ok 1425 /checksum/SHA384/reset/127 708s ok 1426 /checksum/SHA384/reset/128 708s ok 1427 /checksum/SHA384/reset/129 708s ok 1428 /checksum/SHA384/reset/130 708s ok 1429 /checksum/SHA384/reset/131 708s ok 1430 /checksum/SHA384/reset/132 708s ok 1431 /checksum/SHA384/reset/133 708s ok 1432 /checksum/SHA384/reset/134 708s ok 1433 /checksum/SHA384/reset/135 708s ok 1434 /checksum/SHA384/reset/136 708s ok 1435 /checksum/SHA384/reset/137 708s ok 1436 /checksum/SHA384/reset/138 708s ok 1437 /checksum/SHA384/reset/139 708s ok 1438 /checksum/SHA384/reset/140 708s ok 1439 /checksum/SHA384/reset/141 708s ok 1440 /checksum/SHA384/reset/142 708s ok 1441 /checksum/SHA384/reset/143 708s ok 1442 /checksum/SHA384/reset/144 708s ok 1443 /checksum/SHA384/reset/145 708s ok 1444 /checksum/SHA384/reset/146 708s ok 1445 /checksum/SHA384/reset/147 708s ok 1446 /checksum/SHA384/reset/148 708s ok 1447 /checksum/SHA384/reset/149 708s ok 1448 /checksum/SHA384/reset/150 708s ok 1449 /checksum/SHA384/reset/151 708s ok 1450 /checksum/SHA384/reset/152 708s ok 1451 /checksum/SHA384/reset/153 708s ok 1452 /checksum/SHA384/reset/154 708s ok 1453 /checksum/SHA384/reset/155 708s ok 1454 /checksum/SHA384/reset/156 708s ok 1455 /checksum/SHA384/reset/157 708s ok 1456 /checksum/SHA384/reset/158 708s ok 1457 /checksum/SHA384/reset/159 708s ok 1458 /checksum/SHA384/reset/160 708s ok 1459 /checksum/SHA384/reset/161 708s ok 1460 /checksum/SHA384/reset/162 708s ok 1461 /checksum/SHA384/reset/163 708s ok 1462 /checksum/SHA384/reset/164 708s ok 1463 /checksum/SHA384/reset/165 708s ok 1464 /checksum/SHA384/reset/166 708s ok 1465 /checksum/SHA384/reset/167 708s ok 1466 /checksum/SHA384/reset/168 708s ok 1467 /checksum/SHA384/reset/169 708s ok 1468 /checksum/SHA384/reset/170 708s ok 1469 /checksum/SHA384/reset/171 708s ok 1470 /checksum/SHA384/reset/172 708s ok 1471 /checksum/SHA384/reset/173 708s ok 1472 /checksum/SHA384/reset/174 708s ok 1473 /checksum/SHA384/reset/175 708s ok 1474 /checksum/SHA384/reset/176 708s ok 1475 /checksum/SHA384/reset/177 708s ok 1476 /checksum/SHA384/reset/178 708s ok 1477 /checksum/SHA384/reset/179 708s ok 1478 /checksum/SHA384/reset/180 708s ok 1479 /checksum/SHA384/reset/181 708s ok 1480 /checksum/SHA384/reset/182 708s ok 1481 /checksum/SHA384/reset/183 708s # End of reset tests 708s # End of SHA384 tests 708s # Start of SHA512 tests 708s ok 1482 /checksum/SHA512/0 708s ok 1483 /checksum/SHA512/1 708s ok 1484 /checksum/SHA512/2 708s ok 1485 /checksum/SHA512/3 708s ok 1486 /checksum/SHA512/4 708s ok 1487 /checksum/SHA512/5 708s ok 1488 /checksum/SHA512/6 708s ok 1489 /checksum/SHA512/7 708s ok 1490 /checksum/SHA512/8 708s ok 1491 /checksum/SHA512/9 708s ok 1492 /checksum/SHA512/10 708s ok 1493 /checksum/SHA512/11 708s ok 1494 /checksum/SHA512/12 708s ok 1495 /checksum/SHA512/13 708s ok 1496 /checksum/SHA512/14 708s ok 1497 /checksum/SHA512/15 708s ok 1498 /checksum/SHA512/16 708s ok 1499 /checksum/SHA512/17 708s ok 1500 /checksum/SHA512/18 708s ok 1501 /checksum/SHA512/19 708s ok 1502 /checksum/SHA512/20 708s ok 1503 /checksum/SHA512/21 708s ok 1504 /checksum/SHA512/22 708s ok 1505 /checksum/SHA512/23 708s ok 1506 /checksum/SHA512/24 708s ok 1507 /checksum/SHA512/25 708s ok 1508 /checksum/SHA512/26 708s ok 1509 /checksum/SHA512/27 708s ok 1510 /checksum/SHA512/28 708s ok 1511 /checksum/SHA512/29 708s ok 1512 /checksum/SHA512/30 708s ok 1513 /checksum/SHA512/31 708s ok 1514 /checksum/SHA512/32 708s ok 1515 /checksum/SHA512/33 708s ok 1516 /checksum/SHA512/34 708s ok 1517 /checksum/SHA512/35 708s ok 1518 /checksum/SHA512/36 708s ok 1519 /checksum/SHA512/37 708s ok 1520 /checksum/SHA512/38 708s ok 1521 /checksum/SHA512/39 708s ok 1522 /checksum/SHA512/40 708s ok 1523 /checksum/SHA512/41 708s ok 1524 /checksum/SHA512/42 708s ok 1525 /checksum/SHA512/43 708s ok 1526 /checksum/SHA512/44 708s ok 1527 /checksum/SHA512/45 708s ok 1528 /checksum/SHA512/46 708s ok 1529 /checksum/SHA512/47 708s ok 1530 /checksum/SHA512/48 708s ok 1531 /checksum/SHA512/49 708s ok 1532 /checksum/SHA512/50 708s ok 1533 /checksum/SHA512/51 708s ok 1534 /checksum/SHA512/52 708s ok 1535 /checksum/SHA512/53 708s ok 1536 /checksum/SHA512/54 708s ok 1537 /checksum/SHA512/55 708s ok 1538 /checksum/SHA512/56 708s ok 1539 /checksum/SHA512/57 708s ok 1540 /checksum/SHA512/58 708s ok 1541 /checksum/SHA512/59 708s ok 1542 /checksum/SHA512/60 708s ok 1543 /checksum/SHA512/61 708s ok 1544 /checksum/SHA512/62 708s ok 1545 /checksum/SHA512/63 708s ok 1546 /checksum/SHA512/64 708s ok 1547 /checksum/SHA512/65 708s ok 1548 /checksum/SHA512/66 708s ok 1549 /checksum/SHA512/67 708s ok 1550 /checksum/SHA512/68 708s ok 1551 /checksum/SHA512/69 708s ok 1552 /checksum/SHA512/70 708s ok 1553 /checksum/SHA512/71 708s ok 1554 /checksum/SHA512/72 708s ok 1555 /checksum/SHA512/73 708s ok 1556 /checksum/SHA512/74 708s ok 1557 /checksum/SHA512/75 708s ok 1558 /checksum/SHA512/76 708s ok 1559 /checksum/SHA512/77 708s ok 1560 /checksum/SHA512/78 708s ok 1561 /checksum/SHA512/79 708s ok 1562 /checksum/SHA512/80 708s ok 1563 /checksum/SHA512/81 708s ok 1564 /checksum/SHA512/82 708s ok 1565 /checksum/SHA512/83 708s ok 1566 /checksum/SHA512/84 708s ok 1567 /checksum/SHA512/85 708s ok 1568 /checksum/SHA512/86 708s ok 1569 /checksum/SHA512/87 708s ok 1570 /checksum/SHA512/88 708s ok 1571 /checksum/SHA512/89 708s ok 1572 /checksum/SHA512/90 708s ok 1573 /checksum/SHA512/91 708s ok 1574 /checksum/SHA512/92 708s ok 1575 /checksum/SHA512/93 708s ok 1576 /checksum/SHA512/94 708s ok 1577 /checksum/SHA512/95 708s ok 1578 /checksum/SHA512/96 708s ok 1579 /checksum/SHA512/97 708s ok 1580 /checksum/SHA512/98 708s ok 1581 /checksum/SHA512/99 708s ok 1582 /checksum/SHA512/100 708s ok 1583 /checksum/SHA512/101 708s ok 1584 /checksum/SHA512/102 708s ok 1585 /checksum/SHA512/103 708s ok 1586 /checksum/SHA512/104 708s ok 1587 /checksum/SHA512/105 708s ok 1588 /checksum/SHA512/106 708s ok 1589 /checksum/SHA512/107 708s ok 1590 /checksum/SHA512/108 708s ok 1591 /checksum/SHA512/109 708s ok 1592 /checksum/SHA512/110 708s ok 1593 /checksum/SHA512/111 708s ok 1594 /checksum/SHA512/112 708s ok 1595 /checksum/SHA512/113 708s ok 1596 /checksum/SHA512/114 708s ok 1597 /checksum/SHA512/115 708s ok 1598 /checksum/SHA512/116 708s ok 1599 /checksum/SHA512/117 708s ok 1600 /checksum/SHA512/118 708s ok 1601 /checksum/SHA512/119 708s ok 1602 /checksum/SHA512/120 708s ok 1603 /checksum/SHA512/121 708s ok 1604 /checksum/SHA512/122 708s ok 1605 /checksum/SHA512/123 708s ok 1606 /checksum/SHA512/124 708s ok 1607 /checksum/SHA512/125 708s ok 1608 /checksum/SHA512/126 708s ok 1609 /checksum/SHA512/127 708s ok 1610 /checksum/SHA512/128 708s ok 1611 /checksum/SHA512/129 708s ok 1612 /checksum/SHA512/130 708s ok 1613 /checksum/SHA512/131 708s ok 1614 /checksum/SHA512/132 708s ok 1615 /checksum/SHA512/133 708s ok 1616 /checksum/SHA512/134 708s ok 1617 /checksum/SHA512/135 708s ok 1618 /checksum/SHA512/136 708s ok 1619 /checksum/SHA512/137 708s ok 1620 /checksum/SHA512/138 708s ok 1621 /checksum/SHA512/139 708s ok 1622 /checksum/SHA512/140 708s ok 1623 /checksum/SHA512/141 708s ok 1624 /checksum/SHA512/142 708s ok 1625 /checksum/SHA512/143 708s ok 1626 /checksum/SHA512/144 708s ok 1627 /checksum/SHA512/145 708s ok 1628 /checksum/SHA512/146 708s ok 1629 /checksum/SHA512/147 708s ok 1630 /checksum/SHA512/148 708s ok 1631 /checksum/SHA512/149 708s ok 1632 /checksum/SHA512/150 708s ok 1633 /checksum/SHA512/151 708s ok 1634 /checksum/SHA512/152 708s ok 1635 /checksum/SHA512/153 708s ok 1636 /checksum/SHA512/154 708s ok 1637 /checksum/SHA512/155 708s ok 1638 /checksum/SHA512/156 708s ok 1639 /checksum/SHA512/157 708s ok 1640 /checksum/SHA512/158 708s ok 1641 /checksum/SHA512/159 708s ok 1642 /checksum/SHA512/160 708s ok 1643 /checksum/SHA512/161 708s ok 1644 /checksum/SHA512/162 708s ok 1645 /checksum/SHA512/163 708s ok 1646 /checksum/SHA512/164 708s ok 1647 /checksum/SHA512/165 708s ok 1648 /checksum/SHA512/166 708s ok 1649 /checksum/SHA512/167 708s ok 1650 /checksum/SHA512/168 708s ok 1651 /checksum/SHA512/169 708s ok 1652 /checksum/SHA512/170 708s ok 1653 /checksum/SHA512/171 708s ok 1654 /checksum/SHA512/172 708s ok 1655 /checksum/SHA512/173 708s ok 1656 /checksum/SHA512/174 708s ok 1657 /checksum/SHA512/175 708s ok 1658 /checksum/SHA512/176 708s ok 1659 /checksum/SHA512/177 708s ok 1660 /checksum/SHA512/178 708s ok 1661 /checksum/SHA512/179 708s ok 1662 /checksum/SHA512/180 708s ok 1663 /checksum/SHA512/181 708s ok 1664 /checksum/SHA512/182 708s ok 1665 /checksum/SHA512/183 708s ok 1666 /checksum/SHA512/string 708s ok 1667 /checksum/SHA512/bytes 708s # Start of reset tests 708s ok 1668 /checksum/SHA512/reset/0 708s ok 1669 /checksum/SHA512/reset/1 708s ok 1670 /checksum/SHA512/reset/2 708s ok 1671 /checksum/SHA512/reset/3 708s ok 1672 /checksum/SHA512/reset/4 708s ok 1673 /checksum/SHA512/reset/5 708s ok 1674 /checksum/SHA512/reset/6 708s ok 1675 /checksum/SHA512/reset/7 708s ok 1676 /checksum/SHA512/reset/8 708s ok 1677 /checksum/SHA512/reset/9 708s ok 1678 /checksum/SHA512/reset/10 708s ok 1679 /checksum/SHA512/reset/11 708s ok 1680 /checksum/SHA512/reset/12 708s ok 1681 /checksum/SHA512/reset/13 708s ok 1682 /checksum/SHA512/reset/14 708s ok 1683 /checksum/SHA512/reset/15 708s ok 1684 /checksum/SHA512/reset/16 708s ok 1685 /checksum/SHA512/reset/17 708s ok 1686 /checksum/SHA512/reset/18 708s ok 1687 /checksum/SHA512/reset/19 708s ok 1688 /checksum/SHA512/reset/20 708s ok 1689 /checksum/SHA512/reset/21 708s ok 1690 /checksum/SHA512/reset/22 708s ok 1691 /checksum/SHA512/reset/23 708s ok 1692 /checksum/SHA512/reset/24 708s ok 1693 /checksum/SHA512/reset/25 708s ok 1694 /checksum/SHA512/reset/26 708s ok 1695 /checksum/SHA512/reset/27 708s ok 1696 /checksum/SHA512/reset/28 708s ok 1697 /checksum/SHA512/reset/29 708s ok 1698 /checksum/SHA512/reset/30 708s ok 1699 /checksum/SHA512/reset/31 708s ok 1700 /checksum/SHA512/reset/32 708s ok 1701 /checksum/SHA512/reset/33 708s ok 1702 /checksum/SHA512/reset/34 708s ok 1703 /checksum/SHA512/reset/35 708s ok 1704 /checksum/SHA512/reset/36 708s ok 1705 /checksum/SHA512/reset/37 708s ok 1706 /checksum/SHA512/reset/38 708s ok 1707 /checksum/SHA512/reset/39 708s ok 1708 /checksum/SHA512/reset/40 708s ok 1709 /checksum/SHA512/reset/41 708s ok 1710 /checksum/SHA512/reset/42 708s ok 1711 /checksum/SHA512/reset/43 708s ok 1712 /checksum/SHA512/reset/44 708s ok 1713 /checksum/SHA512/reset/45 708s ok 1714 /checksum/SHA512/reset/46 708s ok 1715 /checksum/SHA512/reset/47 708s ok 1716 /checksum/SHA512/reset/48 708s ok 1717 /checksum/SHA512/reset/49 708s ok 1718 /checksum/SHA512/reset/50 708s ok 1719 /checksum/SHA512/reset/51 708s ok 1720 /checksum/SHA512/reset/52 708s ok 1721 /checksum/SHA512/reset/53 708s ok 1722 /checksum/SHA512/reset/54 708s ok 1723 /checksum/SHA512/reset/55 708s ok 1724 /checksum/SHA512/reset/56 708s ok 1725 /checksum/SHA512/reset/57 708s ok 1726 /checksum/SHA512/reset/58 708s ok 1727 /checksum/SHA512/reset/59 708s ok 1728 /checksum/SHA512/reset/60 708s ok 1729 /checksum/SHA512/reset/61 708s ok 1730 /checksum/SHA512/reset/62 708s ok 1731 /checksum/SHA512/reset/63 708s ok 1732 /checksum/SHA512/reset/64 708s ok 1733 /checksum/SHA512/reset/65 708s ok 1734 /checksum/SHA512/reset/66 708s ok 1735 /checksum/SHA512/reset/67 708s ok 1736 /checksum/SHA512/reset/68 708s ok 1737 /checksum/SHA512/reset/69 708s ok 1738 /checksum/SHA512/reset/70 708s ok 1739 /checksum/SHA512/reset/71 708s ok 1740 /checksum/SHA512/reset/72 708s ok 1741 /checksum/SHA512/reset/73 708s ok 1742 /checksum/SHA512/reset/74 708s ok 1743 /checksum/SHA512/reset/75 708s ok 1744 /checksum/SHA512/reset/76 708s ok 1745 /checksum/SHA512/reset/77 708s ok 1746 /checksum/SHA512/reset/78 708s ok 1747 /checksum/SHA512/reset/79 708s ok 1748 /checksum/SHA512/reset/80 708s ok 1749 /checksum/SHA512/reset/81 708s ok 1750 /checksum/SHA512/reset/82 708s ok 1751 /checksum/SHA512/reset/83 708s ok 1752 /checksum/SHA512/reset/84 708s ok 1753 /checksum/SHA512/reset/85 708s ok 1754 /checksum/SHA512/reset/86 708s ok 1755 /checksum/SHA512/reset/87 708s ok 1756 /checksum/SHA512/reset/88 708s ok 1757 /checksum/SHA512/reset/89 708s ok 1758 /checksum/SHA512/reset/90 708s ok 1759 /checksum/SHA512/reset/91 708s ok 1760 /checksum/SHA512/reset/92 708s ok 1761 /checksum/SHA512/reset/93 708s ok 1762 /checksum/SHA512/reset/94 708s ok 1763 /checksum/SHA512/reset/95 708s ok 1764 /checksum/SHA512/reset/96 708s ok 1765 /checksum/SHA512/reset/97 708s ok 1766 /checksum/SHA512/reset/98 708s ok 1767 /checksum/SHA512/reset/99 708s ok 1768 /checksum/SHA512/reset/100 708s ok 1769 /checksum/SHA512/reset/101 708s ok 1770 /checksum/SHA512/reset/102 708s ok 1771 /checksum/SHA512/reset/103 708s ok 1772 /checksum/SHA512/reset/104 708s ok 1773 /checksum/SHA512/reset/105 708s ok 1774 /checksum/SHA512/reset/106 708s ok 1775 /checksum/SHA512/reset/107 708s ok 1776 /checksum/SHA512/reset/108 708s ok 1777 /checksum/SHA512/reset/109 708s ok 1778 /checksum/SHA512/reset/110 708s ok 1779 /checksum/SHA512/reset/111 708s ok 1780 /checksum/SHA512/reset/112 708s ok 1781 /checksum/SHA512/reset/113 708s ok 1782 /checksum/SHA512/reset/114 708s ok 1783 /checksum/SHA512/reset/115 708s ok 1784 /checksum/SHA512/reset/116 708s ok 1785 /checksum/SHA512/reset/117 708s ok 1786 /checksum/SHA512/reset/118 708s ok 1787 /checksum/SHA512/reset/119 708s ok 1788 /checksum/SHA512/reset/120 708s ok 1789 /checksum/SHA512/reset/121 708s ok 1790 /checksum/SHA512/reset/122 708s ok 1791 /checksum/SHA512/reset/123 708s ok 1792 /checksum/SHA512/reset/124 708s ok 1793 /checksum/SHA512/reset/125 708s ok 1794 /checksum/SHA512/reset/126 708s ok 1795 /checksum/SHA512/reset/127 708s ok 1796 /checksum/SHA512/reset/128 708s ok 1797 /checksum/SHA512/reset/129 708s ok 1798 /checksum/SHA512/reset/130 708s ok 1799 /checksum/SHA512/reset/131 708s ok 1800 /checksum/SHA512/reset/132 708s ok 1801 /checksum/SHA512/reset/133 708s ok 1802 /checksum/SHA512/reset/134 708s ok 1803 /checksum/SHA512/reset/135 708s ok 1804 /checksum/SHA512/reset/136 708s ok 1805 /checksum/SHA512/reset/137 708s ok 1806 /checksum/SHA512/reset/138 708s ok 1807 /checksum/SHA512/reset/139 708s ok 1808 /checksum/SHA512/reset/140 708s ok 1809 /checksum/SHA512/reset/141 708s ok 1810 /checksum/SHA512/reset/142 708s ok 1811 /checksum/SHA512/reset/143 708s ok 1812 /checksum/SHA512/reset/144 708s ok 1813 /checksum/SHA512/reset/145 708s ok 1814 /checksum/SHA512/reset/146 708s ok 1815 /checksum/SHA512/reset/147 708s ok 1816 /checksum/SHA512/reset/148 708s ok 1817 /checksum/SHA512/reset/149 708s ok 1818 /checksum/SHA512/reset/150 708s ok 1819 /checksum/SHA512/reset/151 708s ok 1820 /checksum/SHA512/reset/152 708s ok 1821 /checksum/SHA512/reset/153 708s ok 1822 /checksum/SHA512/reset/154 708s ok 1823 /checksum/SHA512/reset/155 708s ok 1824 /checksum/SHA512/reset/156 708s ok 1825 /checksum/SHA512/reset/157 708s ok 1826 /checksum/SHA512/reset/158 708s ok 1827 /checksum/SHA512/reset/159 708s ok 1828 /checksum/SHA512/reset/160 708s ok 1829 /checksum/SHA512/reset/161 708s ok 1830 /checksum/SHA512/reset/162 708s ok 1831 /checksum/SHA512/reset/163 708s ok 1832 /checksum/SHA512/reset/164 708s ok 1833 /checksum/SHA512/reset/165 708s ok 1834 /checksum/SHA512/reset/166 708s ok 1835 /checksum/SHA512/reset/167 708s ok 1836 /checksum/SHA512/reset/168 708s ok 1837 /checksum/SHA512/reset/169 708s ok 1838 /checksum/SHA512/reset/170 708s ok 1839 /checksum/SHA512/reset/171 708s ok 1840 /checksum/SHA512/reset/172 708s ok 1841 /checksum/SHA512/reset/173 708s ok 1842 /checksum/SHA512/reset/174 708s ok 1843 /checksum/SHA512/reset/175 708s ok 1844 /checksum/SHA512/reset/176 708s ok 1845 /checksum/SHA512/reset/177 708s ok 1846 /checksum/SHA512/reset/178 708s ok 1847 /checksum/SHA512/reset/179 708s ok 1848 /checksum/SHA512/reset/180 708s ok 1849 /checksum/SHA512/reset/181 708s ok 1850 /checksum/SHA512/reset/182 708s ok 1851 /checksum/SHA512/reset/183 708s # End of reset tests 708s # End of SHA512 tests 708s # End of checksum tests 708s ok - glib/checksum.test 708s # Running test: glib/unicode-normalize.test 708s TAP version 14 708s # random seed: R02S7aa4fca5f9268c6a9c4766f2e54f7149 708s 1..3 708s # Start of unicode tests 708s # Processing Part0 # Specific cases 708s # Processing Part1 # Character by character test 708s # Processing Part2 # Canonical Order Test 708s # Processing Part3 # PRI #29 Test 708s ok 1 /unicode/normalize 708s # Invalid UTF-8 vector 0 708s # Invalid UTF-8 vector 1 708s # Invalid UTF-8 vector 2 708s # Invalid UTF-8 vector 3 708s # Invalid UTF-8 vector 4 708s # Invalid UTF-8 vector 5 708s # Invalid UTF-8 vector 6 708s # Invalid UTF-8 vector 7 708s # Invalid UTF-8 vector 8 708s # Invalid UTF-8 vector 9 708s # Invalid UTF-8 vector 10 708s # Invalid UTF-8 vector 11 708s # Invalid UTF-8 vector 12 708s ok 2 /unicode/normalize-invalid 708s # Start of normalize tests 708s ok 3 /unicode/normalize/bad-length 708s # End of normalize tests 708s # End of unicode tests 708s ok - glib/unicode-normalize.test 708s # Running test: glib/testing.test 708s TAP version 14 708s # random seed: R02Sbbfe93bb719c06a7d40d67a3c3a54255 708s 1..1 708s # Start of assert tests 708s ok 1 /assert/finalize_object 708s # Start of finalize_object tests 708s # Start of subprocess tests 708s # End of subprocess tests 708s # End of finalize_object tests 708s # End of assert tests 708s ok - glib/testing.test 708s # Running test: glib/autoptr-gio.test 708s TAP version 14 708s # random seed: R02S2575bc259f98fc32facab766dcb2d2ca 708s 1..1 708s # Start of autoptr tests 708s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 708s ok 1 /autoptr/autoptr 708s # End of autoptr tests 708s ok - glib/autoptr-gio.test 708s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 708s TAP version 14 708s # random seed: R02S210f545470aeabe97dbaaf1e440f089a 708s 1..8 708s # Start of gdbus tests 708s # Start of codegen tests 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/annotations/.dirs/runtime 708s ok 1 /gdbus/codegen/annotations 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/interface_stability/.dirs/runtime 708s ok 2 /gdbus/codegen/interface_stability 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/object-manager/.dirs/runtime 708s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 708s ok 3 /gdbus/codegen/object-manager 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/property-naming/.dirs/runtime 708s ok 4 /gdbus/codegen/property-naming 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/autocleanups/.dirs/runtime 708s ok 5 /gdbus/codegen/autocleanups 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/deprecations/.dirs/runtime 708s ok 6 /gdbus/codegen/deprecations 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/standalone-interface-info/.dirs/runtime 708s ok 7 /gdbus/codegen/standalone-interface-info 708s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/home 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/cache 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/system-config2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/config 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/system-data2 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/data 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/state 708s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_76Q2X2/gdbus/codegen/unix-fd-list/.dirs/runtime 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 708s ok 8 /gdbus/codegen/unix-fd-list 708s # End of codegen tests 708s # End of gdbus tests 708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 708s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 708s ok - glib/gdbus-test-codegen-min-required-2-64.test 708s # Running test: glib/unix.test 708s TAP version 14 708s # random seed: R02S029f5d4daabf4beaac4dc1ba8b28e63b 708s 1..20 708s # Start of glib-unix tests 708s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 708s ok 1 /glib-unix/closefrom 708s ok 2 /glib-unix/pipe 708s # /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 708s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 708s ok 3 /glib-unix/pipe-stdio-overwrite 708s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 708s ok 4 /glib-unix/pipe-struct 708s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 708s ok 5 /glib-unix/pipe-struct-auto 708s ok 6 /glib-unix/error 708s ok 7 /glib-unix/nonblocking 708s ok 8 /glib-unix/sighup 708s # slow test /glib-unix/sighup executed in 0.50 secs 709s ok 9 /glib-unix/sigterm 709s # slow test /glib-unix/sigterm executed in 0.50 secs 709s ok 10 /glib-unix/sighup_again 709s # slow test /glib-unix/sighup_again executed in 0.50 secs 709s ok 11 /glib-unix/sighup_add_remove 709s ok 12 /glib-unix/sighup_nested 711s # Executing: glib/unix.test 711s ok 13 /glib-unix/callback_after_signal 711s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 711s ok 14 /glib-unix/child-wait 711s # Start of closefrom tests 711s # Start of subprocess tests 711s # End of subprocess tests 711s # End of closefrom tests 711s # Start of pipe tests 711s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 711s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 711s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 711s ok 15 /glib-unix/pipe/fd-cloexec 711s # End of pipe tests 711s # Start of sighup tests 712s ok 16 /glib-unix/sighup/alternate-stack 712s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 712s # End of sighup tests 712s # Start of sigterm tests 713s ok 17 /glib-unix/sigterm/alternate-stack 713s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 713s # End of sigterm tests 713s # Start of sighup_again tests 714s ok 18 /glib-unix/sighup_again/alternate-stack 714s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 714s # End of sighup_again tests 714s # Start of get-passwd-entry tests 714s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 714s ok 19 /glib-unix/get-passwd-entry/root 714s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 714s ok 20 /glib-unix/get-passwd-entry/nonexistent 714s # End of get-passwd-entry tests 714s # End of glib-unix tests 714s ok - glib/unix.test 714s # Running test: glib/memchunk.test 714s TAP version 14 714s # random seed: R02Sab5da4d879daba0db70837cc582a0aa5 714s 1..1 714s # Start of memchunk tests 714s ok 1 /memchunk/basic 714s # End of memchunk tests 714s ok - glib/memchunk.test 715s # Running test: glib/gsubprocess.test 715s TAP version 14 715s # random seed: R02Sc07995c5b5e2947cfdddd3920d611731 715s 1..83 715s # Start of gsubprocess tests 715s ok 1 /gsubprocess/noop 715s ok 2 /gsubprocess/noop-all-to-null 715s ok 3 /gsubprocess/noop-no-wait 715s ok 4 /gsubprocess/noop-stdin-inherit 715s ok 5 /gsubprocess/search-path 715s ok 6 /gsubprocess/search-path-from-envp 716s # Executing: glib/gsubprocess.test 717s ok 7 /gsubprocess/signal 717s # slow test /gsubprocess/signal executed in 2.81 secs 717s ok 8 /gsubprocess/exit1 717s ok 9 /gsubprocess/echo1 717s ok 10 /gsubprocess/echo-merged 717s ok 11 /gsubprocess/cat-utf8 718s ok 12 /gsubprocess/cat-eof 718s # slow test /gsubprocess/cat-eof executed in 1.00 secs 721s # Executing: glib/gsubprocess.test 721s ok 13 /gsubprocess/multi1 721s # slow test /gsubprocess/multi1 executed in 3.01 secs 721s ok 14 /gsubprocess/communicate 724s ok 15 /gsubprocess/terminate 724s # slow test /gsubprocess/terminate executed in 2.98 secs 724s ok 16 /gsubprocess/env 724s ok 17 /gsubprocess/cwd 724s ok 18 /gsubprocess/launcher-close 724s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 724s ok 19 /gsubprocess/stdout-file 724s ok 20 /gsubprocess/stdout-fd 724s ok 21 /gsubprocess/child-setup 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s ok 22 /gsubprocess/launcher-environment 724s # Start of exit1 tests 724s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 724s ok 23 /gsubprocess/exit1/cancel 724s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 724s ok 24 /gsubprocess/exit1/cancel_in_cb 724s # End of exit1 tests 724s # Start of communicate tests 724s ok 25 /gsubprocess/communicate/cancelled 724s ok 26 /gsubprocess/communicate/async 724s ok 27 /gsubprocess/communicate/utf8 724s # hello world 724s ok 28 /gsubprocess/communicate/no-pipes 724s ok 29 /gsubprocess/communicate/separate-stderr 724s ok 30 /gsubprocess/communicate/stdout-only 724s # hello world 724s ok 31 /gsubprocess/communicate/stderr-only 724s ok 32 /gsubprocess/communicate/stdout-silence 724s ok 33 /gsubprocess/communicate/nothing 724s # Start of async tests 724s ok 34 /gsubprocess/communicate/async/cancelled 724s # hello world 724s ok 35 /gsubprocess/communicate/async/no-pipes 724s ok 36 /gsubprocess/communicate/async/separate-stderr 724s ok 37 /gsubprocess/communicate/async/stdout-only 724s # hello world 724s ok 38 /gsubprocess/communicate/async/stderr-only 724s ok 39 /gsubprocess/communicate/async/stdout-silence 724s # Start of cancelled tests 724s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 724s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 724s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 724s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 724s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 724s # End of cancelled tests 724s # End of async tests 724s # Start of utf8 tests 724s ok 45 /gsubprocess/communicate/utf8/cancelled 724s ok 46 /gsubprocess/communicate/utf8/async 724s # hello world 724s ok 47 /gsubprocess/communicate/utf8/no-pipes 724s ok 48 /gsubprocess/communicate/utf8/separate-stderr 724s ok 49 /gsubprocess/communicate/utf8/stdout-only 724s # hello world 724s ok 50 /gsubprocess/communicate/utf8/stderr-only 724s ok 51 /gsubprocess/communicate/utf8/stdout-silence 724s ok 52 /gsubprocess/communicate/utf8/invalid 724s # Start of async tests 724s ok 53 /gsubprocess/communicate/utf8/async/cancelled 724s # hello world 724s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 724s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 724s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 724s # hello world 724s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 724s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 724s ok 59 /gsubprocess/communicate/utf8/async/invalid 724s # Start of cancelled tests 724s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 724s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 724s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 724s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 724s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 724s # End of cancelled tests 724s # End of async tests 724s # Start of cancelled tests 724s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 724s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 724s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 724s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 724s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 724s # End of cancelled tests 724s # End of utf8 tests 724s # Start of cancelled tests 724s ok 70 /gsubprocess/communicate/cancelled/no-pipes 724s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 724s ok 72 /gsubprocess/communicate/cancelled/stdout-only 724s ok 73 /gsubprocess/communicate/cancelled/stderr-only 724s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 724s # End of cancelled tests 724s # End of communicate tests 724s # Start of env tests 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s ok 75 /gsubprocess/env/inherit 724s # End of env tests 724s # Start of pass-fd tests 724s ok 76 /gsubprocess/pass-fd/basic 724s ok 77 /gsubprocess/pass-fd/empty-child-setup 724s ok 78 /gsubprocess/pass-fd/inherit-fds 724s # End of pass-fd tests 724s # Start of fd-conflation tests 724s ok 79 /gsubprocess/fd-conflation/basic 724s ok 80 /gsubprocess/fd-conflation/empty-child-setup 724s ok 81 /gsubprocess/fd-conflation/inherit-fds 724s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 724s # End of fd-conflation tests 724s # Start of exit-status tests 724s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 724s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 724s ok 83 /gsubprocess/exit-status/trapped 724s # End of exit-status tests 724s # End of gsubprocess tests 724s ok - glib/gsubprocess.test 724s # Running test: glib/autoptr-girepository.test 724s TAP version 14 724s # random seed: R02S5d1058f8c21b8958ee95a3e99fdfd248 724s 1..24 724s # Start of autoptr tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/repository/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 1 /autoptr/repository 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/typelib/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 2 /autoptr/typelib 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/base-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 3 /autoptr/base-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/arg-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 4 /autoptr/arg-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callable-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 5 /autoptr/callable-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/callback-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 6 /autoptr/callback-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/constant-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 7 /autoptr/constant-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/enum-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 8 /autoptr/enum-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/field-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 9 /autoptr/field-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/flags-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 10 /autoptr/flags-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/function-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 11 /autoptr/function-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/interface-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 12 /autoptr/interface-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/object-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 13 /autoptr/object-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/property-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 14 /autoptr/property-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/registered-type-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 15 /autoptr/registered-type-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/signal-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 16 /autoptr/signal-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/struct-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 17 /autoptr/struct-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/type-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 18 /autoptr/type-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/union-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 19 /autoptr/union-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/value-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 20 /autoptr/value-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/autoptr/vfunc-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 21 /autoptr/vfunc-info 724s # End of autoptr tests 724s # Start of auto tests 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/auto/arg-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 22 /auto/arg-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/auto/type-info/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 23 /auto/type-info 724s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/home 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/cache 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/system-config2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/config 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/system-data2 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/data 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/state 724s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_JGPQX2/auto/function-invoker/.dirs/runtime 724s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 724s ok 24 /auto/function-invoker 724s # End of auto tests 724s ok - glib/autoptr-girepository.test 724s # Running test: glib/glistmodel.test 724s TAP version 14 724s # random seed: R02S88d2a907ddeb353e650224c006750807 724s 1..18 724s # Start of glistmodel tests 724s # Start of store tests 724s ok 1 /glistmodel/store/properties 724s ok 2 /glistmodel/store/non-gobjects 724s ok 3 /glistmodel/store/boundaries 724s ok 4 /glistmodel/store/refcounts 724s ok 5 /glistmodel/store/sorted 724s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 724s ok 6 /glistmodel/store/splice-replace-middle 724s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 724s ok 7 /glistmodel/store/splice-replace-all 724s ok 8 /glistmodel/store/splice-noop 724s ok 9 /glistmodel/store/splice-remove-multiple 724s ok 10 /glistmodel/store/splice-add-multiple 724s ok 11 /glistmodel/store/splice-wrong-type 724s ok 12 /glistmodel/store/item-type 724s ok 13 /glistmodel/store/remove-all 724s ok 14 /glistmodel/store/sort 724s ok 15 /glistmodel/store/get-item-cache 724s ok 16 /glistmodel/store/items-changed 724s ok 17 /glistmodel/store/past-end 724s ok 18 /glistmodel/store/find 724s # End of store tests 724s # End of glistmodel tests 724s ok - glib/glistmodel.test 724s # Running test: glib/utf8-validate.test 724s TAP version 14 724s # random seed: R02Sd4295a52b9dde1498f31b6561f4f90cf 724s 1..216 724s # Start of utf8 tests 724s # Vector 0 724s # Vector 1 724s # Vector 2 724s # Vector 3 724s # Vector 4 724s # Vector 5 724s # Vector 6 724s # Vector 7 724s # Vector 8 724s # Vector 9 724s # Vector 10 724s # Vector 11 724s # Vector 12 724s # Vector 13 724s # Vector 14 724s # Vector 15 724s # Vector 16 724s # Vector 17 724s # Vector 18 724s # Vector 19 724s # Vector 20 724s # Vector 21 724s # Vector 22 724s # Vector 23 724s # Vector 24 724s # Vector 25 724s # Vector 26 724s # Vector 27 724s ok 1 /utf8/get-char-validated 724s # Start of validate tests 724s ok 2 /utf8/validate/0 724s ok 3 /utf8/validate/1 724s ok 4 /utf8/validate/2 724s ok 5 /utf8/validate/3 724s ok 6 /utf8/validate/4 724s ok 7 /utf8/validate/5 724s ok 8 /utf8/validate/6 724s ok 9 /utf8/validate/7 724s ok 10 /utf8/validate/8 724s ok 11 /utf8/validate/9 724s ok 12 /utf8/validate/10 724s ok 13 /utf8/validate/11 724s ok 14 /utf8/validate/12 724s ok 15 /utf8/validate/13 724s ok 16 /utf8/validate/14 724s ok 17 /utf8/validate/15 724s ok 18 /utf8/validate/16 724s ok 19 /utf8/validate/17 724s ok 20 /utf8/validate/18 724s ok 21 /utf8/validate/19 724s ok 22 /utf8/validate/20 724s ok 23 /utf8/validate/21 724s ok 24 /utf8/validate/22 724s ok 25 /utf8/validate/23 724s ok 26 /utf8/validate/24 724s ok 27 /utf8/validate/25 724s ok 28 /utf8/validate/26 724s ok 29 /utf8/validate/27 724s ok 30 /utf8/validate/28 724s ok 31 /utf8/validate/29 724s ok 32 /utf8/validate/30 724s ok 33 /utf8/validate/31 724s ok 34 /utf8/validate/32 724s ok 35 /utf8/validate/33 724s ok 36 /utf8/validate/34 724s ok 37 /utf8/validate/35 724s ok 38 /utf8/validate/36 724s ok 39 /utf8/validate/37 724s ok 40 /utf8/validate/38 724s ok 41 /utf8/validate/39 724s ok 42 /utf8/validate/40 724s ok 43 /utf8/validate/41 724s ok 44 /utf8/validate/42 724s ok 45 /utf8/validate/43 724s ok 46 /utf8/validate/44 724s ok 47 /utf8/validate/45 724s ok 48 /utf8/validate/46 724s ok 49 /utf8/validate/47 724s ok 50 /utf8/validate/48 724s ok 51 /utf8/validate/49 724s ok 52 /utf8/validate/50 724s ok 53 /utf8/validate/51 724s ok 54 /utf8/validate/52 724s ok 55 /utf8/validate/53 724s ok 56 /utf8/validate/54 724s ok 57 /utf8/validate/55 724s ok 58 /utf8/validate/56 724s ok 59 /utf8/validate/57 724s ok 60 /utf8/validate/58 724s ok 61 /utf8/validate/59 724s ok 62 /utf8/validate/60 724s ok 63 /utf8/validate/61 724s ok 64 /utf8/validate/62 724s ok 65 /utf8/validate/63 724s ok 66 /utf8/validate/64 724s ok 67 /utf8/validate/65 724s ok 68 /utf8/validate/66 724s ok 69 /utf8/validate/67 724s ok 70 /utf8/validate/68 724s ok 71 /utf8/validate/69 724s ok 72 /utf8/validate/70 724s ok 73 /utf8/validate/71 724s ok 74 /utf8/validate/72 724s ok 75 /utf8/validate/73 724s ok 76 /utf8/validate/74 724s ok 77 /utf8/validate/75 724s ok 78 /utf8/validate/76 724s ok 79 /utf8/validate/77 724s ok 80 /utf8/validate/78 724s ok 81 /utf8/validate/79 724s ok 82 /utf8/validate/80 724s ok 83 /utf8/validate/81 724s ok 84 /utf8/validate/82 724s ok 85 /utf8/validate/83 724s ok 86 /utf8/validate/84 724s ok 87 /utf8/validate/85 724s ok 88 /utf8/validate/86 724s ok 89 /utf8/validate/87 724s ok 90 /utf8/validate/88 724s ok 91 /utf8/validate/89 724s ok 92 /utf8/validate/90 724s ok 93 /utf8/validate/91 724s ok 94 /utf8/validate/92 724s ok 95 /utf8/validate/93 724s ok 96 /utf8/validate/94 724s ok 97 /utf8/validate/95 724s ok 98 /utf8/validate/96 724s ok 99 /utf8/validate/97 724s ok 100 /utf8/validate/98 724s ok 101 /utf8/validate/99 724s ok 102 /utf8/validate/100 724s ok 103 /utf8/validate/101 724s ok 104 /utf8/validate/102 724s ok 105 /utf8/validate/103 724s ok 106 /utf8/validate/104 724s ok 107 /utf8/validate/105 724s ok 108 /utf8/validate/106 724s ok 109 /utf8/validate/107 724s ok 110 /utf8/validate/108 724s ok 111 /utf8/validate/109 724s ok 112 /utf8/validate/110 724s ok 113 /utf8/validate/111 724s ok 114 /utf8/validate/112 724s ok 115 /utf8/validate/113 724s ok 116 /utf8/validate/114 724s ok 117 /utf8/validate/115 724s ok 118 /utf8/validate/116 724s ok 119 /utf8/validate/117 724s ok 120 /utf8/validate/118 724s ok 121 /utf8/validate/119 724s ok 122 /utf8/validate/120 724s ok 123 /utf8/validate/121 724s ok 124 /utf8/validate/122 724s ok 125 /utf8/validate/123 724s ok 126 /utf8/validate/124 724s ok 127 /utf8/validate/125 724s ok 128 /utf8/validate/126 724s ok 129 /utf8/validate/127 724s ok 130 /utf8/validate/128 724s ok 131 /utf8/validate/129 724s ok 132 /utf8/validate/130 724s ok 133 /utf8/validate/131 724s ok 134 /utf8/validate/132 724s ok 135 /utf8/validate/133 724s ok 136 /utf8/validate/134 724s ok 137 /utf8/validate/135 724s ok 138 /utf8/validate/136 724s ok 139 /utf8/validate/137 724s ok 140 /utf8/validate/138 724s ok 141 /utf8/validate/139 724s ok 142 /utf8/validate/140 724s ok 143 /utf8/validate/141 724s ok 144 /utf8/validate/142 724s ok 145 /utf8/validate/143 724s ok 146 /utf8/validate/144 724s ok 147 /utf8/validate/145 724s ok 148 /utf8/validate/146 724s ok 149 /utf8/validate/147 724s ok 150 /utf8/validate/148 724s ok 151 /utf8/validate/149 724s ok 152 /utf8/validate/150 724s ok 153 /utf8/validate/151 724s ok 154 /utf8/validate/152 724s ok 155 /utf8/validate/153 724s ok 156 /utf8/validate/154 724s ok 157 /utf8/validate/155 724s ok 158 /utf8/validate/156 724s ok 159 /utf8/validate/157 724s ok 160 /utf8/validate/158 724s ok 161 /utf8/validate/159 724s ok 162 /utf8/validate/160 724s ok 163 /utf8/validate/161 724s ok 164 /utf8/validate/162 724s ok 165 /utf8/validate/163 724s ok 166 /utf8/validate/164 724s ok 167 /utf8/validate/165 724s ok 168 /utf8/validate/166 724s ok 169 /utf8/validate/167 724s ok 170 /utf8/validate/168 724s ok 171 /utf8/validate/169 724s ok 172 /utf8/validate/170 724s ok 173 /utf8/validate/171 724s ok 174 /utf8/validate/172 724s ok 175 /utf8/validate/173 724s ok 176 /utf8/validate/174 724s ok 177 /utf8/validate/175 724s ok 178 /utf8/validate/176 724s ok 179 /utf8/validate/177 724s ok 180 /utf8/validate/178 724s ok 181 /utf8/validate/179 724s ok 182 /utf8/validate/180 724s ok 183 /utf8/validate/181 724s ok 184 /utf8/validate/182 724s ok 185 /utf8/validate/183 724s ok 186 /utf8/validate/184 724s ok 187 /utf8/validate/185 724s ok 188 /utf8/validate/186 724s ok 189 /utf8/validate/187 724s ok 190 /utf8/validate/188 724s ok 191 /utf8/validate/189 724s ok 192 /utf8/validate/190 724s ok 193 /utf8/validate/191 724s ok 194 /utf8/validate/192 724s ok 195 /utf8/validate/193 724s ok 196 /utf8/validate/194 724s ok 197 /utf8/validate/195 724s ok 198 /utf8/validate/196 724s ok 199 /utf8/validate/197 724s ok 200 /utf8/validate/198 724s ok 201 /utf8/validate/199 724s ok 202 /utf8/validate/200 724s ok 203 /utf8/validate/201 724s ok 204 /utf8/validate/202 724s ok 205 /utf8/validate/203 724s ok 206 /utf8/validate/204 724s ok 207 /utf8/validate/205 724s ok 208 /utf8/validate/206 724s ok 209 /utf8/validate/207 724s ok 210 /utf8/validate/208 724s ok 211 /utf8/validate/209 724s ok 212 /utf8/validate/210 724s ok 213 /utf8/validate/211 724s ok 214 /utf8/validate/212 724s ok 215 /utf8/validate/213 724s ok 216 /utf8/validate/214 724s # End of validate tests 724s # End of utf8 tests 724s ok - glib/utf8-validate.test 724s # Running test: glib/string.test 724s TAP version 14 724s # random seed: R02Sb694abbffb95fa7e87c462b4b8806c8d 724s 1..23 724s # Start of string tests 724s ok 1 /string/test-string-chunks 724s ok 2 /string/test-string-chunk-insert 724s ok 3 /string/test-string-new 724s ok 4 /string/test-string-printf 724s ok 5 /string/test-string-assign 724s ok 6 /string/test-string-append-c 724s ok 7 /string/test-string-append 724s ok 8 /string/test-string-append-vprintf 724s ok 9 /string/test-string-prepend-c 724s ok 10 /string/test-string-prepend 724s ok 11 /string/test-string-insert 724s ok 12 /string/test-string-insert-unichar 724s ok 13 /string/test-string-equal 724s ok 14 /string/test-string-truncate 724s ok 15 /string/test-string-overwrite 724s ok 16 /string/test-string-nul-handling 724s ok 17 /string/test-string-up-down 724s ok 18 /string/test-string-set-size 724s ok 19 /string/test-string-to-bytes 724s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 724s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 724s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 724s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 724s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 724s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 724s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 724s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 724s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 724s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 724s # 5: Replacing "o" with "" (limit 0) in "food for foals" 724s # -> 4 replacements, "fd fr fals" 724s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 724s # -> 3 replacements, "aaaaaaaaa" 724s # 7: Replacing "a" with "" (limit 0) in "aaa" 724s # -> 3 replacements, "" 724s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 724s # -> 1 replacements, "bba" 724s # 9: Replacing "" with "bar" (limit 0) in "foo" 724s # -> 4 replacements, "barfbarobarobar" 724s # 10: Replacing "" with "x" (limit 0) in "" 724s # -> 1 replacements, "x" 724s # 11: Replacing "" with "" (limit 0) in "" 724s # -> 1 replacements, "" 724s ok 20 /string/test-string-replace 724s ok 21 /string/test-string-steal 724s ok 22 /string/test-string-new-take 724s # Start of test-string-new-take tests 724s ok 23 /string/test-string-new-take/null 724s # End of test-string-new-take tests 724s # End of string tests 724s ok - glib/string.test 724s # Running test: glib/cxx-11.test 724s TAP version 14 724s # random seed: R02S488744763cd94c63e1e016b840153531 724s 1..2 724s # Start of gtask tests 724s # 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. 724s ok 1 /gtask/name 724s # Start of name tests 724s # 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. 724s ok 2 /gtask/name/macro-wrapper 724s # End of name tests 724s # End of gtask tests 724s ok - glib/cxx-11.test 724s # Running test: glib/resources.test 724s TAP version 14 724s # random seed: R02S8c8241716698ed2ba7181c29c65b3b91 724s 1..17 724s # Start of resource tests 724s ok 1 /resource/file 724s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 724s ok 2 /resource/file-path 724s ok 3 /resource/data 724s ok 4 /resource/data_unaligned 724s ok 5 /resource/data-corrupt 724s ok 6 /resource/data-empty 724s ok 7 /resource/registered 724s ok 8 /resource/manual 724s ok 9 /resource/manual2 724s ok 10 /resource/automatic 724s ok 11 /resource/module 724s ok 12 /resource/binary-linked 724s ok 13 /resource/64k 724s GLib-GIO-Message: 02:09:40.857: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 724s ok 14 /resource/overlay 724s ok 15 /resource/digits 724s # Start of uri tests 724s ok 16 /resource/uri/query-info 724s ok 17 /resource/uri/file 724s # End of uri tests 724s # End of resource tests 724s ok - glib/resources.test 724s # Running test: glib/guuid.test 724s TAP version 14 724s # random seed: R02S6bc58218d5b47ac969d1b7ab58df4402 724s 1..2 724s # Start of uuid tests 724s ok 1 /uuid/string 724s ok 2 /uuid/random 724s # End of uuid tests 724s ok - glib/guuid.test 724s # Running test: glib/debugcontroller.test 724s TAP version 14 724s # random seed: R02S77ce5e9e2feecf422f02aec0015518f6 724s 1..3 724s # Start of debug-controller tests 724s # Start of dbus tests 724s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 724s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 724s # GLib-GIO-DEBUG: Debug output enabled 724s # GLib-GIO-DEBUG: Debug output disabled 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 1 /debug-controller/dbus/basic 724s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 724s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 724s ok 2 /debug-controller/dbus/duplicate 724s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 724s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 724s # End of dbus tests 724s # End of debug-controller tests 724s ok - glib/debugcontroller.test 724s # Running test: glib/genmarshal.py.test 724s TAP version 13 724s ok 1 __main__.TestGenmarshal.test_empty_list 724s # tmpdir: /tmp/tmp6yi8itcs 724s # genmarshal: /usr/bin/glib-genmarshal 724s # /tmp/tmp6yi8itcs/tmpjnu2vx6q.list: 724s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6yi8itcs/tmpjnu2vx6q.list', '--header', '--quiet'] 724s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 724s # 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. */ 724s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 724s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 724s # 724s # #include 724s # 724s # G_BEGIN_DECLS 724s # 724s # 724s # G_END_DECLS 724s # 724s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 724s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6yi8itcs/tmpjnu2vx6q.list', '--body', '--quiet'] 724s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 724s # 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. */ 724s # #include 724s # 724s # #ifdef G_ENABLE_DEBUG 724s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 724s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 724s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 724s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 724s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 724s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 724s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 724s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 724s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 724s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 724s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 724s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 724s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 724s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 724s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 724s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 724s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 724s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 724s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 724s # #else /* !G_ENABLE_DEBUG */ 724s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 724s # * Do not access GValues directly in your code. Instead, use the 724s # * g_value_get_*() functions 724s # */ 724s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 724s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 724s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 724s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 724s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 724s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 724s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 724s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 724s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 724s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 724s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 724s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 724s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 724s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 724s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 724s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 724s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 724s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 724s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 724s # #endif /* !G_ENABLE_DEBUG */ 725s ok 2 __main__.TestGenmarshal.test_help 725s # tmpdir: /tmp/tmpxgbodwic 725s # genmarshal: /usr/bin/glib-genmarshal 725s # Running: ['/usr/bin/glib-genmarshal', '--help'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 725s # [--internal] [--valist-marshallers] [-v] 725s # [--g-fatal-warnings] [--include-header [HEADER]] 725s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 725s # [--prototypes] [--header] [--body] 725s # [--stdinc | --nostdinc] [--quiet | --verbose] 725s # [FILE ...] 725s # 725s # Generate signal marshallers for GObject 725s # 725s # positional arguments: 725s # FILE Files with lists of marshallers to generate, or "-" 725s # for standard input 725s # 725s # options: 725s # -h, --help show this help message and exit 725s # --prefix STRING Specify marshaller prefix 725s # --output FILE Write output into the specified file 725s # --skip-source Skip source location comments 725s # --internal Mark generated functions as internal 725s # --valist-marshallers Generate va_list marshallers 725s # -v, --version Print version information, and exit 725s # --g-fatal-warnings Make warnings fatal 725s # --include-header [HEADER] 725s # Include the specified header in the body 725s # --pragma-once Use "pragma once" as the inclusion guard 725s # -D CPP_DEFINES Pre-processor define 725s # -U CPP_UNDEFINES Pre-processor undefine 725s # --prototypes Generate the marshallers prototype in the C code 725s # --header Generate C headers 725s # --body Generate C code 725s # --stdinc Include standard marshallers 725s # --nostdinc Use standard marshallers 725s # --quiet Only print warnings and errors 725s # --verbose Be verbose, and include debugging information 725s ok 3 __main__.TestGenmarshal.test_no_args 725s # tmpdir: /tmp/tmpa1f8_8ef 725s # genmarshal: /usr/bin/glib-genmarshal 725s # Running: ['/usr/bin/glib-genmarshal'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # Output: 725s ok 4 __main__.TestGenmarshal.test_void_boolean 725s # tmpdir: /tmp/tmpjdws11jk 725s # genmarshal: /usr/bin/glib-genmarshal 725s # /tmp/tmpjdws11jk/tmpvuifnc2g.list: VOID:BOOLEAN 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjdws11jk/tmpvuifnc2g.list', '--header', '--quiet'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # 725s # #include 725s # 725s # G_BEGIN_DECLS 725s # 725s # /* VOID:BOOLEAN (/tmp/tmpjdws11jk/tmpvuifnc2g.list:1) */ 725s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 725s # 725s # 725s # G_END_DECLS 725s # 725s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjdws11jk/tmpvuifnc2g.list', '--body', '--quiet'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #include 725s # 725s # #ifdef G_ENABLE_DEBUG 725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 725s # #else /* !G_ENABLE_DEBUG */ 725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 725s # * Do not access GValues directly in your code. Instead, use the 725s # * g_value_get_*() functions 725s # */ 725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 725s # #endif /* !G_ENABLE_DEBUG */ 725s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 725s # tmpdir: /tmp/tmp9_79p9k3 725s # genmarshal: /usr/bin/glib-genmarshal 725s # /tmp/tmp9_79p9k3/tmpz5odlqpj.list: VOID:BOOLEAN,INT64 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9_79p9k3/tmpz5odlqpj.list', '--header', '--quiet'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # 725s # #include 725s # 725s # G_BEGIN_DECLS 725s # 725s # /* VOID:BOOLEAN,INT64 (/tmp/tmp9_79p9k3/tmpz5odlqpj.list:1) */ 725s # extern 725s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 725s # GValue *return_value, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint, 725s # gpointer marshal_data); 725s # 725s # 725s # G_END_DECLS 725s # 725s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9_79p9k3/tmpz5odlqpj.list', '--body', '--quiet'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #include 725s # 725s # #ifdef G_ENABLE_DEBUG 725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 725s # #else /* !G_ENABLE_DEBUG */ 725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 725s # * Do not access GValues directly in your code. Instead, use the 725s # * g_value_get_*() functions 725s # */ 725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 725s # #endif /* !G_ENABLE_DEBUG */ 725s # 725s # /* VOID:BOOLEAN,INT64 (/tmp/tmp9_79p9k3/tmpz5odlqpj.list:1) */ 725s # void 725s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint G_GNUC_UNUSED, 725s # gpointer marshal_data) 725s # { 725s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 725s # gboolean arg1, 725s # gint64 arg2, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 725s # 725s # g_return_if_fail (n_param_values == 3); 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = g_value_peek_pointer (param_values + 0); 725s # } 725s # else 725s # { 725s # data1 = g_value_peek_pointer (param_values + 0); 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # g_marshal_value_peek_boolean (param_values + 1), 725s # g_marshal_value_peek_int64 (param_values + 2), 725s # data2); 725s # } 725s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 725s # tmpdir: /tmp/tmplfow1hnf 725s # genmarshal: /usr/bin/glib-genmarshal 725s # /tmp/tmplfow1hnf/tmpbaeh64lt.list: VOID:PARAM 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplfow1hnf/tmpbaeh64lt.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # 725s # G_BEGIN_DECLS 725s # 725s # /* VOID:PARAM (/tmp/tmplfow1hnf/tmpbaeh64lt.list:1) */ 725s # extern 725s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 725s # GValue *return_value, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint, 725s # gpointer marshal_data); 725s # extern 725s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 725s # GValue *return_value, 725s # gpointer instance, 725s # va_list args, 725s # gpointer marshal_data, 725s # int n_params, 725s # GType *param_types); 725s # 725s # 725s # G_END_DECLS 725s # 725s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplfow1hnf/tmpbaeh64lt.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifdef G_ENABLE_DEBUG 725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 725s # #else /* !G_ENABLE_DEBUG */ 725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 725s # * Do not access GValues directly in your code. Instead, use the 725s # * g_value_get_*() functions 725s # */ 725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 725s # #endif /* !G_ENABLE_DEBUG */ 725s # 725s # /* VOID:PARAM (/tmp/tmplfow1hnf/tmpbaeh64lt.list:1) */ 725s # void 725s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint G_GNUC_UNUSED, 725s # gpointer marshal_data) 725s # { 725s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 725s # gpointer arg1, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__PARAM callback; 725s # 725s # g_return_if_fail (n_param_values == 2); 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = g_value_peek_pointer (param_values + 0); 725s # } 725s # else 725s # { 725s # data1 = g_value_peek_pointer (param_values + 0); 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # g_marshal_value_peek_param (param_values + 1), 725s # data2); 725s # } 725s # 725s # void 725s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # gpointer instance, 725s # va_list args, 725s # gpointer marshal_data, 725s # int n_params, 725s # GType *param_types) 725s # { 725s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 725s # gpointer arg1, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__PARAM callback; 725s # gpointer arg0; 725s # va_list args_copy; 725s # 725s # va_copy (args_copy, args); 725s # arg0 = (gpointer) va_arg (args_copy, gpointer); 725s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 725s # arg0 = g_param_spec_ref (arg0); 725s # va_end (args_copy); 725s # 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = instance; 725s # } 725s # else 725s # { 725s # data1 = instance; 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # arg0, 725s # data2); 725s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 725s # g_param_spec_unref (arg0); 725s # } 725s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 725s # tmpdir: /tmp/tmpr7uz_sm2 725s # genmarshal: /usr/bin/glib-genmarshal 725s # /tmp/tmpr7uz_sm2/tmpie08jr5a.list: VOID:STRING 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpr7uz_sm2/tmpie08jr5a.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # 725s # G_BEGIN_DECLS 725s # 725s # /* VOID:STRING (/tmp/tmpr7uz_sm2/tmpie08jr5a.list:1) */ 725s # extern 725s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 725s # GValue *return_value, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint, 725s # gpointer marshal_data); 725s # extern 725s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 725s # GValue *return_value, 725s # gpointer instance, 725s # va_list args, 725s # gpointer marshal_data, 725s # int n_params, 725s # GType *param_types); 725s # 725s # 725s # G_END_DECLS 725s # 725s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpr7uz_sm2/tmpie08jr5a.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifdef G_ENABLE_DEBUG 725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 725s # #else /* !G_ENABLE_DEBUG */ 725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 725s # * Do not access GValues directly in your code. Instead, use the 725s # * g_value_get_*() functions 725s # */ 725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 725s # #endif /* !G_ENABLE_DEBUG */ 725s # 725s # /* VOID:STRING (/tmp/tmpr7uz_sm2/tmpie08jr5a.list:1) */ 725s # void 725s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint G_GNUC_UNUSED, 725s # gpointer marshal_data) 725s # { 725s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 725s # gpointer arg1, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__STRING callback; 725s # 725s # g_return_if_fail (n_param_values == 2); 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = g_value_peek_pointer (param_values + 0); 725s # } 725s # else 725s # { 725s # data1 = g_value_peek_pointer (param_values + 0); 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # g_marshal_value_peek_string (param_values + 1), 725s # data2); 725s # } 725s # 725s # void 725s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # gpointer instance, 725s # va_list args, 725s # gpointer marshal_data, 725s # int n_params, 725s # GType *param_types) 725s # { 725s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 725s # gpointer arg1, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__STRING callback; 725s # gpointer arg0; 725s # va_list args_copy; 725s # 725s # va_copy (args_copy, args); 725s # arg0 = (gpointer) va_arg (args_copy, gpointer); 725s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 725s # arg0 = g_strdup (arg0); 725s # va_end (args_copy); 725s # 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = instance; 725s # } 725s # else 725s # { 725s # data1 = instance; 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # arg0, 725s # data2); 725s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 725s # g_free (arg0); 725s # } 725s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 725s # tmpdir: /tmp/tmpqy3_nbpt 725s # genmarshal: /usr/bin/glib-genmarshal 725s # /tmp/tmpqy3_nbpt/tmpjv0xebze.list: VOID:VARIANT 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqy3_nbpt/tmpjv0xebze.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 725s # 725s # G_BEGIN_DECLS 725s # 725s # /* VOID:VARIANT (/tmp/tmpqy3_nbpt/tmpjv0xebze.list:1) */ 725s # extern 725s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 725s # GValue *return_value, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint, 725s # gpointer marshal_data); 725s # extern 725s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 725s # GValue *return_value, 725s # gpointer instance, 725s # va_list args, 725s # gpointer marshal_data, 725s # int n_params, 725s # GType *param_types); 725s # 725s # 725s # G_END_DECLS 725s # 725s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 725s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqy3_nbpt/tmpjv0xebze.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 725s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 725s # 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. */ 725s # #ifdef G_ENABLE_DEBUG 725s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 725s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 725s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 725s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 725s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 725s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 725s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 725s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 725s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 725s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 725s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 725s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 725s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 725s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 725s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 725s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 725s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 725s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 725s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 725s # #else /* !G_ENABLE_DEBUG */ 725s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 725s # * Do not access GValues directly in your code. Instead, use the 725s # * g_value_get_*() functions 725s # */ 725s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 725s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 725s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 725s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 725s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 725s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 725s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 725s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 725s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 725s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 725s # #endif /* !G_ENABLE_DEBUG */ 725s # 725s # /* VOID:VARIANT (/tmp/tmpqy3_nbpt/tmpjv0xebze.list:1) */ 725s # void 725s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # guint n_param_values, 725s # const GValue *param_values, 725s # gpointer invocation_hint G_GNUC_UNUSED, 725s # gpointer marshal_data) 725s # { 725s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 725s # gpointer arg1, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__VARIANT callback; 725s # 725s # g_return_if_fail (n_param_values == 2); 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = g_value_peek_pointer (param_values + 0); 725s # } 725s # else 725s # { 725s # data1 = g_value_peek_pointer (param_values + 0); 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # g_marshal_value_peek_variant (param_values + 1), 725s # data2); 725s # } 725s # 725s # void 725s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 725s # GValue *return_value G_GNUC_UNUSED, 725s # gpointer instance, 725s # va_list args, 725s # gpointer marshal_data, 725s # int n_params, 725s # GType *param_types) 725s # { 725s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 725s # gpointer arg1, 725s # gpointer data2); 725s # GCClosure *cc = (GCClosure *) closure; 725s # gpointer data1, data2; 725s # GMarshalFunc_VOID__VARIANT callback; 725s # gpointer arg0; 725s # va_list args_copy; 725s # 725s # va_copy (args_copy, args); 725s # arg0 = (gpointer) va_arg (args_copy, gpointer); 725s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 725s # arg0 = g_variant_ref_sink (arg0); 725s # va_end (args_copy); 725s # 725s # 725s # if (G_CCLOSURE_SWAP_DATA (closure)) 725s # { 725s # data1 = closure->data; 725s # data2 = instance; 725s # } 725s # else 725s # { 725s # data1 = instance; 725s # data2 = closure->data; 725s # } 725s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 725s # 725s # callback (data1, 725s # arg0, 725s # data2); 725s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 725s # g_variant_unref (arg0); 725s # } 725s 1..8 725s ok - glib/genmarshal.py.test 725s # Running test: glib/relation.test 725s TAP version 14 725s # random seed: R02Sbb0a558f5b81a6ffe377e5bcd8068b66 725s 1..1 725s # Start of glib tests 725s ok 1 /glib/relation 725s # End of glib tests 725s ok - glib/relation.test 725s # Running test: glib/cxx-98.test 725s TAP version 14 725s # random seed: R02Sab5e76377274912c036ffcc17faec41e 725s 1..2 725s # Start of gtask tests 725s # 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. 725s ok 1 /gtask/name 725s # Start of name tests 725s # 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. 725s ok 2 /gtask/name/macro-wrapper 725s # End of name tests 725s # End of gtask tests 725s ok - glib/cxx-98.test 725s # Running test: glib/singleton.test 725s TAP version 14 725s # random seed: R02Sb8a643ebd4a3a63ec2ed0c9d148b55cb 725s 1..2 725s # Start of gobject tests 725s # Start of singleton tests 725s ok 1 /gobject/singleton/construction 725s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 725s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 725s ok 2 /gobject/singleton/construct-property 725s # End of singleton tests 725s # End of gobject tests 725s ok - glib/singleton.test 725s # Running test: glib/charset.test 725s TAP version 14 725s # random seed: R02Sb4fade6025d459aa3cf08544aed98391 725s 1..2 725s # Start of charset tests 725s # Test 0 725s # Test 1 725s # Test 2 725s # Test 3 725s ok 1 /charset/language_names_with_category 725s ok 2 /charset/language_names_with_category_async 725s # End of charset tests 725s ok - glib/charset.test 725s # Running test: glib/unicode.test 725s TAP version 14 725s # random seed: R02Sd3775ccb1c5b4098dc65e46dfbb4d107 725s 1..39 725s # Start of unicode tests 725s ok 1 /unicode/alnum 725s ok 2 /unicode/alpha 725s ok 3 /unicode/break-type 725s ok 4 /unicode/canonical-decomposition 725s ok 5 /unicode/casefold 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s # Cannot set locale to lt_LT, skipping 725s ok 6 /unicode/casemap_and_casefold 725s ok 7 /unicode/cases 725s ok 8 /unicode/character-type 725s ok 9 /unicode/cntrl 725s ok 10 /unicode/combining-class 725s ok 11 /unicode/compose 725s ok 12 /unicode/decompose 725s ok 13 /unicode/decompose-tail 725s ok 14 /unicode/defined 725s ok 15 /unicode/digit 725s ok 16 /unicode/digit-value 725s ok 17 /unicode/fully-decompose-canonical 725s ok 18 /unicode/fully-decompose-len 725s ok 19 /unicode/normalization 725s ok 20 /unicode/graph 725s # Testing script Zyyy (code 1517910393) 725s # Testing script Zinh (code 1516858984) 725s # Testing script Zmth (code 1517122664) 725s # Testing script Arab (code 1098015074) 725s # Testing script Armn (code 1098018158) 725s # Testing script Beng (code 1113943655) 725s # Testing script Bopo (code 1114599535) 725s # Testing script Cher (code 1130915186) 725s # Testing script Copt (code 1131376756) 725s # Testing script Cyrl (code 1132032620) 725s # Testing script Dsrt (code 1148416628) 725s # Testing script Deva (code 1147500129) 725s # Testing script Ethi (code 1165256809) 725s # Testing script Geor (code 1197830002) 725s # Testing script Goth (code 1198486632) 725s # Testing script Grek (code 1198679403) 725s # Testing script Gujr (code 1198877298) 725s # Testing script Guru (code 1198879349) 725s # Testing script Hani (code 1214344809) 725s # Testing script Hang (code 1214344807) 725s # Testing script Hebr (code 1214603890) 725s # Testing script Hira (code 1214870113) 725s # Testing script Knda (code 1265525857) 725s # Testing script Kana (code 1264676449) 725s # Testing script Khmr (code 1265134962) 725s # Testing script Laoo (code 1281453935) 725s # Testing script Latn (code 1281455214) 725s # Testing script Mlym (code 1298954605) 725s # Testing script Mong (code 1299148391) 725s # Testing script Mymr (code 1299803506) 725s # Testing script Ogam (code 1332175213) 725s # Testing script Ital (code 1232363884) 725s # Testing script Orya (code 1332902241) 725s # Testing script Runr (code 1383427698) 725s # Testing script Sinh (code 1399418472) 725s # Testing script Syrc (code 1400468067) 725s # Testing script Taml (code 1415671148) 725s # Testing script Telu (code 1415933045) 725s # Testing script Thaa (code 1416126817) 725s # Testing script Thai (code 1416126825) 725s # Testing script Tibt (code 1416192628) 725s # Testing script Cans (code 1130458739) 725s # Testing script Yiii (code 1500080489) 725s # Testing script Tglg (code 1416064103) 725s # Testing script Hano (code 1214344815) 725s # Testing script Buhd (code 1114990692) 725s # Testing script Tagb (code 1415669602) 725s # Testing script Brai (code 1114792297) 725s # Testing script Cprt (code 1131442804) 725s # Testing script Limb (code 1281977698) 725s # Testing script Osma (code 1332964705) 725s # Testing script Shaw (code 1399349623) 725s # Testing script Linb (code 1281977954) 725s # Testing script Tale (code 1415670885) 725s # Testing script Ugar (code 1432838514) 725s # Testing script Talu (code 1415670901) 725s # Testing script Bugi (code 1114990441) 725s # Testing script Glag (code 1198285159) 725s # Testing script Tfng (code 1415999079) 725s # Testing script Sylo (code 1400466543) 725s # Testing script Xpeo (code 1483761007) 725s # Testing script Khar (code 1265131890) 725s # Testing script Zzzz (code 1517976186) 725s # Testing script Bali (code 1113681001) 725s # Testing script Xsux (code 1483961720) 725s # Testing script Phnx (code 1349021304) 725s # Testing script Phag (code 1349017959) 725s # Testing script Nkoo (code 1315663727) 725s # Testing script Kali (code 1264675945) 725s # Testing script Lepc (code 1281716323) 725s # Testing script Rjng (code 1382706791) 725s # Testing script Sund (code 1400204900) 725s # Testing script Saur (code 1398895986) 725s # Testing script Cham (code 1130914157) 725s # Testing script Olck (code 1332503403) 725s # Testing script Vaii (code 1449224553) 725s # Testing script Cari (code 1130459753) 725s # Testing script Lyci (code 1283023721) 725s # Testing script Lydi (code 1283023977) 725s # Testing script Avst (code 1098281844) 725s # Testing script Bamu (code 1113681269) 725s # Testing script Egyp (code 1164409200) 725s # Testing script Armi (code 1098018153) 725s # Testing script Phli (code 1349020777) 725s # Testing script Prti (code 1349678185) 725s # Testing script Java (code 1247901281) 725s # Testing script Kthi (code 1265920105) 725s # Testing script Lisu (code 1281979253) 725s # Testing script Mtei (code 1299473769) 725s # Testing script Sarb (code 1398895202) 725s # Testing script Orkh (code 1332898664) 725s # Testing script Samr (code 1398893938) 725s # Testing script Lana (code 1281453665) 725s # Testing script Tavt (code 1415673460) 725s # Testing script Batk (code 1113683051) 725s # Testing script Brah (code 1114792296) 725s # Testing script Mand (code 1298230884) 725s # Testing script Cakm (code 1130457965) 725s # Testing script Merc (code 1298494051) 725s # Testing script Mero (code 1298494063) 725s # Testing script Plrd (code 1349284452) 725s # Testing script Shrd (code 1399353956) 725s # Testing script Sora (code 1399812705) 725s # Testing script Takr (code 1415670642) 725s # Testing script Bass (code 1113682803) 725s # Testing script Aghb (code 1097295970) 725s # Testing script Dupl (code 1148547180) 725s # Testing script Elba (code 1164730977) 725s # Testing script Gran (code 1198678382) 725s # Testing script Khoj (code 1265135466) 725s # Testing script Sind (code 1399418468) 725s # Testing script Lina (code 1281977953) 725s # Testing script Mahj (code 1298229354) 725s # Testing script Mani (code 1298230889) 725s # Testing script Mend (code 1298493028) 725s # Testing script Modi (code 1299145833) 725s # Testing script Mroo (code 1299345263) 725s # Testing script Nbat (code 1315070324) 725s # Testing script Narb (code 1315009122) 725s # Testing script Perm (code 1348825709) 725s # Testing script Hmng (code 1215131239) 725s # Testing script Palm (code 1348562029) 725s # Testing script Pauc (code 1348564323) 725s # Testing script Phlp (code 1349020784) 725s # Testing script Sidd (code 1399415908) 725s # Testing script Tirh (code 1416196712) 725s # Testing script Wara (code 1466004065) 725s # Testing script Ahom (code 1097363309) 725s # Testing script Hluw (code 1215067511) 725s # Testing script Hatr (code 1214346354) 725s # Testing script Mult (code 1299541108) 725s # Testing script Hung (code 1215655527) 725s # Testing script Sgnw (code 1399287415) 725s # Testing script Adlm (code 1097100397) 725s # Testing script Bhks (code 1114139507) 725s # Testing script Marc (code 1298231907) 725s # Testing script Newa (code 1315272545) 725s # Testing script Osge (code 1332963173) 725s # Testing script Tang (code 1415671399) 725s # Testing script Gonm (code 1198485101) 725s # Testing script Nshu (code 1316186229) 725s # Testing script Soyo (code 1399814511) 725s # Testing script Zanb (code 1516334690) 725s # Testing script Dogr (code 1148151666) 725s # Testing script Gong (code 1198485095) 725s # Testing script Rohg (code 1383032935) 725s # Testing script Maka (code 1298230113) 725s # Testing script Medf (code 1298490470) 725s # Testing script Sogo (code 1399809903) 725s # Testing script Sogd (code 1399809892) 725s # Testing script Elym (code 1164736877) 725s # Testing script Nand (code 1315008100) 725s # Testing script Hmnp (code 1215131248) 725s # Testing script Wcho (code 1466132591) 725s # Testing script Chrs (code 1130918515) 725s # Testing script Diak (code 1147756907) 725s # Testing script Kits (code 1265202291) 725s # Testing script Yezi (code 1499822697) 725s # Testing script Cpmn (code 1131441518) 725s # Testing script Ougr (code 1333094258) 725s # Testing script Tnsa (code 1416524641) 725s # Testing script Toto (code 1416590447) 725s # Testing script Vith (code 1449751656) 725s # Testing script Kawi (code 1264678761) 725s # Testing script Nagm (code 1315006317) 725s ok 21 /unicode/iso15924 725s ok 22 /unicode/lower 725s ok 23 /unicode/mark 725s ok 24 /unicode/mirror 725s ok 25 /unicode/print 725s ok 26 /unicode/punctuation 725s ok 27 /unicode/script 725s ok 28 /unicode/space 725s ok 29 /unicode/strdown 725s ok 30 /unicode/strup 725s ok 31 /unicode/turkish-strupdown 725s ok 32 /unicode/title 725s ok 33 /unicode/upper 725s ok 34 /unicode/validate 725s ok 35 /unicode/wide 725s ok 36 /unicode/xdigit 725s ok 37 /unicode/xdigit-value 725s ok 38 /unicode/zero-width 725s ok 39 /unicode/normalize 725s # End of unicode tests 725s ok - glib/unicode.test 725s # Running test: glib/custom-dispatch.test 725s TAP version 14 725s # random seed: R02Se20566051007fdea194fd6add0fbdc6e 725s 1..2 725s # Start of properties tests 725s # Start of custom-dispatch tests 725s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 725s ok 1 /properties/custom-dispatch/init 725s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 725s ok 2 /properties/custom-dispatch/set 725s # End of custom-dispatch tests 725s # End of properties tests 725s ok - glib/custom-dispatch.test 725s # Running test: glib/gobject-private.test 725s TAP version 14 725s # random seed: R02S9aa289aef758dde320311f0df712f4ce 725s 1..3 725s # Start of private tests 725s ok 1 /private/instance 725s ok 2 /private/derived-instance 725s ok 3 /private/mixed-derived-instance 725s # End of private tests 725s ok - glib/gobject-private.test 725s # Running test: glib/sleepy-stream.test 725s TAP version 14 725s # random seed: R02S4ca85f3a67f9cf105a7f16e1514cf197 725s 1..2 725s # Start of filter-stream tests 725s ok 1 /filter-stream/input 725s ok 2 /filter-stream/async 725s # End of filter-stream tests 725s ok - glib/sleepy-stream.test 725s # Running test: glib/signals-refcount2.test 725s TAP version 14 725s # random seed: R02Sf9e74a7b6d5d15f96d5b2ab95d532644 725s 1..1 725s # Start of gobject tests 725s # Start of refcount tests 725s # init 0x2aa02097420 725s # 725s # init 0x2aa020975c0 725s # 726s # Executing: glib/signals-refcount2.test 730s # dispose 0x2aa02097420! 730s # 730s # dispose 0x2aa020975c0! 730s # 730s ok 1 /gobject/refcount/signals 730s # slow test /gobject/refcount/signals executed in 5.00 secs 730s # End of refcount tests 730s # End of gobject tests 730s ok - glib/signals-refcount2.test 730s # Running test: glib/keyfile.test 730s TAP version 14 730s # random seed: R02S93dc3b905356c56af71e959d58ae5183 730s 1..36 730s # Start of keyfile tests 730s ok 1 /keyfile/line-ends 730s ok 2 /keyfile/whitespace 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 730s ok 3 /keyfile/comments 730s ok 4 /keyfile/listing 730s ok 5 /keyfile/string 730s ok 6 /keyfile/boolean 730s ok 7 /keyfile/number 730s ok 8 /keyfile/locale-string 730s ok 9 /keyfile/lists 730s ok 10 /keyfile/lists-set-get 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 730s ok 11 /keyfile/group-remove 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 730s ok 12 /keyfile/key-remove 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 730s ok 13 /keyfile/groups 730s ok 14 /keyfile/duplicate-keys 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 730s ok 15 /keyfile/duplicate-groups 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 730s ok 16 /keyfile/duplicate-groups2 730s ok 17 /keyfile/group-names 730s ok 18 /keyfile/key-names 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 730s ok 19 /keyfile/reload 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 730s ok 20 /keyfile/int64 730s ok 21 /keyfile/load 730s ok 22 /keyfile/save 730s ok 23 /keyfile/load-fail 730s ok 24 /keyfile/non-utf8 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 730s ok 25 /keyfile/page-boundary 730s ok 26 /keyfile/ref 730s ok 27 /keyfile/replace-value 730s ok 28 /keyfile/list-separator 730s ok 29 /keyfile/empty-string 730s ok 30 /keyfile/limbo 730s # Testing invalid encoding ?non-UTF-8 730s # Testing invalid encoding ?UTF? 730s # Testing invalid encoding ?UTF-9? 730s ok 31 /keyfile/utf8 730s ok 32 /keyfile/roundtrip 730s ok 33 /keyfile/bytes 730s ok 34 /keyfile/get-locale 730s ok 35 /keyfile/free-when-not-last-ref 730s # Start of locale-string tests 730s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 730s ok 36 /keyfile/locale-string/multiple-loads 730s # End of locale-string tests 730s # End of keyfile tests 730s ok - glib/keyfile.test 730s # Running test: glib/file.test 730s TAP version 14 730s # random seed: R02S4967d05fcac1fc67da5f3e100b8bafb4 730s 1..55 730s # Start of file tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/basic/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/basic/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/basic/.dirs/system-config1:/tmp/test_file_LXY0X2/file/basic/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/basic/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/basic/.dirs/system-data1:/tmp/test_file_LXY0X2/file/basic/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/basic/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/basic/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/basic/.dirs/runtime 730s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 730s ok 1 /file/basic 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/build-filename/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/build-filename/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/build-filename/.dirs/system-config1:/tmp/test_file_LXY0X2/file/build-filename/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/build-filename/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/build-filename/.dirs/system-data1:/tmp/test_file_LXY0X2/file/build-filename/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/build-filename/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/build-filename/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/build-filename/.dirs/runtime 730s ok 2 /file/build-filename 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_LXY0X2/file/build-filenamev/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_LXY0X2/file/build-filenamev/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/build-filenamev/.dirs/runtime 730s ok 3 /file/build-filenamev 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/parent/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/parent/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/parent/.dirs/system-config1:/tmp/test_file_LXY0X2/file/parent/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/parent/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/parent/.dirs/system-data1:/tmp/test_file_LXY0X2/file/parent/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/parent/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/parent/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/parent/.dirs/runtime 730s ok 4 /file/parent 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/child/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/child/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/child/.dirs/system-config1:/tmp/test_file_LXY0X2/file/child/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/child/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/child/.dirs/system-data1:/tmp/test_file_LXY0X2/file/child/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/child/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/child/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/child/.dirs/runtime 730s ok 5 /file/child 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/empty-path/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/empty-path/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/empty-path/.dirs/system-config1:/tmp/test_file_LXY0X2/file/empty-path/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/empty-path/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/empty-path/.dirs/system-data1:/tmp/test_file_LXY0X2/file/empty-path/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/empty-path/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/empty-path/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/empty-path/.dirs/runtime 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 730s # /file/empty-path summary: Check that creating a file with an empty path results in errors 730s ok 6 /file/empty-path 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/type/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/type/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/type/.dirs/system-config1:/tmp/test_file_LXY0X2/file/type/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/type/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/type/.dirs/system-data1:/tmp/test_file_LXY0X2/file/type/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/type/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/type/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/type/.dirs/runtime 730s ok 7 /file/type 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/parse-name/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/parse-name/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/parse-name/.dirs/system-config1:/tmp/test_file_LXY0X2/file/parse-name/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/parse-name/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/parse-name/.dirs/system-data1:/tmp/test_file_LXY0X2/file/parse-name/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/parse-name/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/parse-name/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/parse-name/.dirs/runtime 730s ok 8 /file/parse-name 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/replace-load/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/replace-load/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/replace-load/.dirs/system-config1:/tmp/test_file_LXY0X2/file/replace-load/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/replace-load/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/replace-load/.dirs/system-data1:/tmp/test_file_LXY0X2/file/replace-load/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/replace-load/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/replace-load/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/replace-load/.dirs/runtime 730s ok 9 /file/replace-load 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_LXY0X2/file/replace-cancel/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_LXY0X2/file/replace-cancel/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/replace-cancel/.dirs/runtime 730s # Bug Reference: https://bugzilla.gnome.org/629301 730s ok 10 /file/replace-cancel 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_LXY0X2/file/replace-symlink/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_LXY0X2/file/replace-symlink/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/replace-symlink/.dirs/runtime 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 730s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 730s # Using temporary directory /tmp/test_file_LXY0X2/g_file_replace_symlink_TFU0X2 730s ok 11 /file/replace-symlink 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-new-tmp/.dirs/runtime 730s ok 12 /file/async-new-tmp 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-new-tmp-dir/.dirs/runtime 730s ok 13 /file/async-new-tmp-dir 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-delete/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-delete/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-delete/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-delete/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-delete/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-delete/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-delete/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-delete/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-delete/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-delete/.dirs/runtime 730s ok 14 /file/async-delete 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-make-symlink/.dirs/runtime 730s ok 15 /file/async-make-symlink 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/copy-preserve-mode/.dirs/runtime 730s # Current umask: 2 730s # Vector 0 730s # Vector 1 730s # Vector 2 730s # Vector 3 730s # Vector 4 730s # Vector 5 730s # Vector 6 730s # Vector 7 730s # Vector 8 730s # Vector 9 730s # Vector 10 730s ok 16 /file/copy-preserve-mode 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/copy-async-with-closures/.dirs/runtime 730s ok 17 /file/copy-async-with-closures 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/measure/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/measure/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/measure/.dirs/system-config1:/tmp/test_file_LXY0X2/file/measure/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/measure/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/measure/.dirs/system-data1:/tmp/test_file_LXY0X2/file/measure/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/measure/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/measure/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/measure/.dirs/runtime 730s ok 18 /file/measure 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/measure-async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/measure-async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/measure-async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/measure-async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/measure-async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/measure-async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/measure-async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/measure-async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/measure-async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/measure-async/.dirs/runtime 730s ok 19 /file/measure-async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/system-config1:/tmp/test_file_LXY0X2/file/load-bytes/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/system-data1:/tmp/test_file_LXY0X2/file/load-bytes/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/load-bytes/.dirs/runtime 730s ok 20 /file/load-bytes 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/load-bytes-async/.dirs/runtime 730s ok 21 /file/load-bytes-async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/load-bytes-4gb/.dirs/runtime 730s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/load-contents-4gb/.dirs/runtime 730s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/load-contents-4gb-async/.dirs/runtime 730s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/.dirs/runtime 730s ok 25 /file/writev 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/build-attribute-list-for-copy/.dirs/runtime 730s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 730s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 730s # 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::* 730s # 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::* 730s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 730s # Attributes for copy: standard::size,xattr::* 730s # Attributes for copy: standard::size,unix::mode,xattr::* 730s ok 26 /file/build-attribute-list-for-copy 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/move_async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/move_async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/move_async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/move_async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/move_async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/move_async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/move_async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/move_async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/move_async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/move_async/.dirs/runtime 730s ok 27 /file/move_async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/move-async-with-closures/.dirs/runtime 730s ok 28 /file/move-async-with-closures 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/query-zero-length-content-type/.dirs/runtime 730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 730s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 730s ok 29 /file/query-zero-length-content-type 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/runtime 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/data/applications 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/config 730s ok 30 /file/query-default-handler-file 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/runtime 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/data/applications 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/config 730s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_LXY0X2/file/query-default-handler-file/.dirs/config to /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/config 730s ok 31 /file/query-default-handler-file-async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/runtime 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/data/applications 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/config 730s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_LXY0X2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/config 730s ok 32 /file/query-default-handler-uri 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/runtime 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/data/applications 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/config 730s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_LXY0X2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/config 730s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_LXY0X2/file/query-default-handler-uri-async/.dirs/config 730s ok 33 /file/query-default-handler-uri-async 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/enumerator-cancellation/.dirs/runtime 730s ok 34 /file/enumerator-cancellation 730s # Start of async-create-delete tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-create-delete/0/.dirs/runtime 730s ok 35 /file/async-create-delete/0 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-create-delete/1/.dirs/runtime 730s ok 36 /file/async-create-delete/1 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-create-delete/10/.dirs/runtime 730s ok 37 /file/async-create-delete/10 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-create-delete/25/.dirs/runtime 730s ok 38 /file/async-create-delete/25 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/async-create-delete/4096/.dirs/runtime 730s ok 39 /file/async-create-delete/4096 730s # End of async-create-delete tests 730s # Start of replace-symlink tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/replace-symlink/using-etag/.dirs/runtime 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 730s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 730s # Using temporary directory /tmp/test_file_LXY0X2/g_file_replace_symlink_using_etag_KXUTX2 731s # Executing: glib/file.test 732s ok 40 /file/replace-symlink/using-etag 732s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 732s # End of replace-symlink tests 732s # Start of replace tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_LXY0X2/file/replace/write-only/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_LXY0X2/file/replace/write-only/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/replace/write-only/.dirs/runtime 732s # /file/replace/write-only summary: Test various situations for g_file_replace() 732s # Current umask: 2 732s # Test 0, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_UBTTX2 732s # Test 1, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_N7STX2 732s # Test 2, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_BTQTX2 732s # Test 3, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_KIRTX2 732s # Test 4, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_3ERTX2 732s # Test 5, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_I5RTX2 732s # Test 6, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_BG0SX2 732s # Test 7, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_BR0SX2 732s # Test 8, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_6O0SX2 732s # Test 9, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_9L0SX2 732s # Test 10, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_37XSX2 732s # Test 11, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_70YSX2 732s # Test 12, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_RQZSX2 732s # Test 13, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_9NZSX2 732s # Test 14, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_L9WSX2 732s # Test 15, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_LHXSX2 732s # Test 16, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_85USX2 732s # Test 17, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_2XVSX2 732s # Test 18, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_C7TSX2 732s # Test 19, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_NJUSX2 732s # Test 20, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_E8RSX2 732s # Test 21, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_59RSX2 732s # Test 22, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_MOQSX2 732s # Test 23, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_NLQSX2 732s # Test 24, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_VERSX2 732s # Test 25, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_5RRSX2 732s # Test 26, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_8ORSX2 732s # Test 27, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_VMRSX2 732s # Test 28, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_98OSX2 732s # Test 29, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_43PSX2 732s # Test 30, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_Z1PSX2 732s # Test 31, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_8YPSX2 732s # Test 32, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_DYCTX2 732s # Test 33, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_PBDTX2 732s # Test 34, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_Z8CTX2 732s # Test 35, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_3YDTX2 732s # Test 36, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_WLBTX2 732s # Test 37, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_MFCTX2 732s # Test 38, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_ID9SX2 732s # Test 39, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_U99SX2 732s # Test 40, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_3LATX2 732s # Test 41, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_RE8SX2 732s # Test 42, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_J88SX2 732s # Test 43, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_7T6SX2 732s # Test 44, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_CO7SX2 732s # Test 45, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_DM7SX2 732s # Test 46, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_4T4SX2 732s # Test 47, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_5R4SX2 732s # Test 48, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_XN5SX2 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s ok 41 /file/replace/write-only 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_LXY0X2/file/replace/read-write/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_LXY0X2/file/replace/read-write/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/replace/read-write/.dirs/runtime 732s # /file/replace/read-write summary: Test various situations for g_file_replace() 732s # Current umask: 2 732s # Test 0, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_MI5SX2 732s # Test 1, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_KH5SX2 732s # Test 2, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_W62SX2 732s # Test 3, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_K03SX2 732s # Test 4, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_RY3SX2 732s # Test 5, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_IV3SX2 732s # Test 6, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_CK1SX2 732s # Test 7, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_4D2SX2 732s # Test 8, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_0B2SX2 732s # Test 9, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_B91SX2 732s # Test 10, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_TN2SX2 732s # Test 11, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_82ASX2 732s # Test 12, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_P0ASX2 732s # Test 13, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_OPBSX2 732s # Test 14, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_PSBSX2 732s # Test 15, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_019RX2 732s # Test 16, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_NFASX2 732s # Test 17, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_H27RX2 732s # Test 18, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_VW8RX2 732s # Test 19, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_1M6RX2 732s # Test 20, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_QY6RX2 732s # Test 21, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_V36RX2 732s # Test 22, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_GT4RX2 732s # Test 23, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_EQ4RX2 732s # Test 24, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_IM5RX2 732s # Test 25, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_NA3RX2 732s # Test 26, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_272RX2 732s # Test 27, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_T42RX2 732s # Test 28, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_CI3RX2 732s # Test 29, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_P80RX2 732s # Test 30, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_K60RX2 732s # Test 31, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_5W1RX2 732s # Test 32, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_EY1RX2 732s # Test 33, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_ONZRX2 732s # Test 34, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_WKZRX2 732s # Test 35, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_YA0RX2 732s # Test 36, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_BO0RX2 732s # Test 37, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_1MNSX2 732s # Test 38, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_FPNSX2 732s # Test 39, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_FJOSX2 732s # Test 40, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_H6LSX2 732s # Test 41, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_OZMSX2 732s # Test 42, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_96JSX2 732s # Test 43, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_M2KSX2 732s # Test 44, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_5OISX2 732s # Test 45, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_YLISX2 732s # Test 46, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_FGJSX2 732s # Test 47, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_GEJSX2 732s # Test 48, using temporary directory /tmp/test_file_LXY0X2/g_file_replace_U7GSX2 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s ok 42 /file/replace/read-write 732s # End of replace tests 732s # Start of copy tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/system-config1:/tmp/test_file_LXY0X2/file/copy/progress/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/system-data1:/tmp/test_file_LXY0X2/file/copy/progress/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/copy/progress/.dirs/runtime 732s ok 43 /file/copy/progress 732s # End of copy tests 732s # Start of writev tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/no-bytes-written/.dirs/runtime 732s ok 44 /file/writev/no-bytes-written 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/no-vectors/.dirs/runtime 732s ok 45 /file/writev/no-vectors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/empty-vectors/.dirs/runtime 732s ok 46 /file/writev/empty-vectors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/too-big-vectors/.dirs/runtime 732s ok 47 /file/writev/too-big-vectors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/async/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/async/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/async/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/async/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/async/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/async/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/async/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/async/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/async/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/async/.dirs/runtime 732s ok 48 /file/writev/async 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/async_all/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/async_all/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/async_all/.dirs/runtime 732s ok 49 /file/writev/async_all 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/async_all-empty-vectors/.dirs/runtime 732s ok 50 /file/writev/async_all-empty-vectors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/async_all-no-vectors/.dirs/runtime 732s ok 51 /file/writev/async_all-no-vectors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/async_all-to-big-vectors/.dirs/runtime 732s ok 52 /file/writev/async_all-to-big-vectors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/writev/async_all-cancellation/.dirs/runtime 732s ok 53 /file/writev/async_all-cancellation 732s # End of writev tests 732s # Start of from-uri tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/from-uri/ignores-query-string/.dirs/runtime 732s ok 54 /file/from-uri/ignores-query-string 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_LXY0X2/file/from-uri/ignores-fragment/.dirs/runtime 732s ok 55 /file/from-uri/ignores-fragment 732s # End of from-uri tests 732s # End of file tests 732s ok - glib/file.test 732s # Running test: glib/fileutils.test 732s TAP version 14 732s # random seed: R02S42a05bddef5b4658d2eefe007c06c134 732s 1..27 732s # Start of fileutils tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/paths/.dirs/runtime 732s ok 1 /fileutils/paths 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/build-path/.dirs/runtime 732s ok 2 /fileutils/build-path 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/build-pathv/.dirs/runtime 732s ok 3 /fileutils/build-pathv 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/build-filename/.dirs/runtime 732s ok 4 /fileutils/build-filename 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/build-filenamev/.dirs/runtime 732s ok 5 /fileutils/build-filenamev 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents/.dirs/runtime 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s ok 6 /fileutils/mkdir-with-parents 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/mkdir-with-parents-permission/.dirs/runtime 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s ok 7 /fileutils/mkdir-with-parents-permission 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/format-size-for-display/.dirs/runtime 732s ok 8 /fileutils/format-size-for-display 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/errors/.dirs/runtime 732s ok 9 /fileutils/errors 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/basename/.dirs/runtime 732s ok 10 /fileutils/basename 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/get-basename/.dirs/runtime 732s ok 11 /fileutils/get-basename 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/dirname/.dirs/runtime 732s ok 12 /fileutils/dirname 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/dir-make-tmp/.dirs/runtime 732s ok 13 /fileutils/dir-make-tmp 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/file-open-tmp/.dirs/runtime 732s ok 14 /fileutils/file-open-tmp 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/file-test/.dirs/runtime 732s ok 15 /fileutils/file-test 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/mkstemp/.dirs/runtime 732s ok 16 /fileutils/mkstemp 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/mkdtemp/.dirs/runtime 732s ok 17 /fileutils/mkdtemp 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/get-contents/.dirs/runtime 732s ok 18 /fileutils/get-contents 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/get-contents-large-file/.dirs/runtime 732s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/set-contents/.dirs/runtime 732s ok 20 /fileutils/set-contents 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/.dirs/runtime 732s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 732s # Flags 0 and test 0 732s # Flags 0 and test 1 732s # Flags 0 and test 2 732s # Flags 0 and test 3 732s # Flags 0 and test 4 732s # Flags 0 and test 5 732s # Flags 1 and test 0 732s # Flags 1 and test 1 732s # Flags 1 and test 2 732s # Flags 1 and test 3 732s # Flags 1 and test 4 732s # Flags 1 and test 5 732s # Flags 2 and test 0 732s # Flags 2 and test 1 732s # Flags 2 and test 2 732s # Flags 2 and test 3 732s # Flags 2 and test 4 732s # Flags 2 and test 5 732s # Flags 3 and test 0 732s # Flags 3 and test 1 732s # Flags 3 and test 2 732s # Flags 3 and test 3 732s # Flags 3 and test 4 732s # Flags 3 and test 5 732s # Flags 4 and test 0 732s # Flags 4 and test 1 732s # Flags 4 and test 2 732s # Flags 4 and test 3 732s # Flags 4 and test 4 732s # Flags 4 and test 5 732s # Flags 5 and test 0 732s # Flags 5 and test 1 732s # Flags 5 and test 2 732s # Flags 5 and test 3 732s # Flags 5 and test 4 732s # Flags 5 and test 5 732s # Flags 6 and test 0 732s # Flags 6 and test 1 732s # Flags 6 and test 2 732s # Flags 6 and test 3 732s # Flags 6 and test 4 732s # Flags 6 and test 5 732s ok 21 /fileutils/set-contents-full 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/read-link/.dirs/runtime 732s ok 22 /fileutils/read-link 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/stdio-wrappers/.dirs/runtime 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s ok 23 /fileutils/stdio-wrappers 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/fopen-modes/.dirs/runtime 732s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 732s # Testing fopen() mode 'w' 732s # Testing fopen() mode 'r' 732s # Testing fopen() mode 'a' 732s # Testing fopen() mode 'w+' 732s # Testing fopen() mode 'r+' 732s # Testing fopen() mode 'a+' 732s # Testing fopen() mode 'wb' 732s # Testing fopen() mode 'rb' 732s # Testing fopen() mode 'ab' 732s # Testing fopen() mode 'w+b' 732s # Testing fopen() mode 'r+b' 732s # Testing fopen() mode 'a+b' 732s # Testing fopen() mode 'wb+' 732s # Testing fopen() mode 'rb+' 732s # Testing fopen() mode 'ab+' 732s ok 24 /fileutils/fopen-modes 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/clear-fd/.dirs/runtime 732s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 732s # Will be closed by autocleanup: 3, -42 732s # Testing error handling 732s ok 25 /fileutils/clear-fd 732s # Start of set-contents-full tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-file/.dirs/runtime 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 732s ok 26 /fileutils/set-contents-full/read-only-file 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_HCCSX2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 732s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 732s # Flags 0 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # Flags 1 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # Flags 2 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # Flags 3 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # Flags 4 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # Flags 5 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s # Flags 6 732s # We do not have CAP_DAC_OVERRIDE or equivalent 732s ok 27 /fileutils/set-contents-full/read-only-directory 732s # End of set-contents-full tests 732s # Start of clear-fd tests 732s # Start of subprocess tests 732s # End of subprocess tests 732s # End of clear-fd tests 732s # End of fileutils tests 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-ZJRQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-POQQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-VSQQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-71NQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-JGRQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-H1RQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2/glib-file-set-contents-full-rodir-5TPQX2: Directory not empty 732s Unable to clean up temporary directory /tmp/test_fileutils_HCCSX2: Directory not empty 732s ok - glib/fileutils.test 732s # Running test: glib/sandbox.test 732s TAP version 14 732s # random seed: R02S0d3708428d11d8dbb83c8c51c141d951 732s 1..4 732s # Start of sandbox tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VNNQX2/sandbox/none/.dirs/runtime 732s ok 1 /sandbox/none 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VNNQX2/sandbox/snap/.dirs/runtime 732s # Created snap.yaml in /tmp/test_sandbox_VNNQX2/snap/current/meta/snap.yaml 732s ok 2 /sandbox/snap 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VNNQX2/sandbox/classic-snap/.dirs/runtime 732s # Created snap.yaml in /tmp/test_sandbox_VNNQX2/snap/current/meta/snap.yaml 732s ok 3 /sandbox/classic-snap 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/runtime 732s # Creating .flatpak-info in /tmp/test_sandbox_VNNQX2/sandbox/flatpak/.dirs/runtime/.flatpak-info 732s ok 4 /sandbox/flatpak 732s # End of sandbox tests 732s ok - glib/sandbox.test 732s # Running test: glib/protocol.test 732s TAP version 14 732s # random seed: R02S1d72b81a5affedaaa5abd53ee493763c 732s 1..9 732s # Start of glib tests 732s # Start of testing tests 732s # Start of protocol tests 732s ok 1 /glib/testing/protocol/debug 732s ok 2 /glib/testing/protocol/info 732s ok 3 /glib/testing/protocol/message 732s ok 4 /glib/testing/protocol/warning 732s ok 5 /glib/testing/protocol/critical 732s ok 6 /glib/testing/protocol/error 732s ok 7 /glib/testing/protocol/gtest-message 732s ok 8 /glib/testing/protocol/test-message 732s ok 9 /glib/testing/protocol/test-error 732s # End of protocol tests 732s # End of testing tests 732s # End of glib tests 732s ok - glib/protocol.test 732s # Running test: glib/gdbus-proxy.test 732s TAP version 14 732s # random seed: R02S95da20b43083727b0a8e6a3e8afcb8cf 732s 1..5 732s # Start of gdbus tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/.dirs/runtime 732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 734s ok 1 /gdbus/proxy 734s # slow test /gdbus/proxy executed in 1.71 secs 734s # Start of proxy tests 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-properties/.dirs/runtime 734s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 734s ok 2 /gdbus/proxy/no-properties 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/wellknown-noauto/.dirs/runtime 734s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 734s ok 3 /gdbus/proxy/wellknown-noauto 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/async/.dirs/runtime 734s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 736s ok 4 /gdbus/proxy/async 736s # slow test /gdbus/proxy/async executed in 1.71 secs 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_685QX2/gdbus/proxy/no-match-rule/.dirs/runtime 736s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 736s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 736s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 736s # Executing: glib/gdbus-proxy.test 738s ok 5 /gdbus/proxy/no-match-rule 738s # slow test /gdbus/proxy/no-match-rule executed in 1.71 secs 738s # End of proxy tests 738s # End of gdbus tests 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 738s ok - glib/gdbus-proxy.test 738s # Running test: glib/logging.test 738s TAP version 14 738s # random seed: R02Se49fb84905c9b924a21c9f7de53ed561 738s 1..17 738s # Start of logging tests 738s ok 1 /logging/default-handler 738s ok 2 /logging/warnings 738s ok 3 /logging/fatal-log-mask 738s # bu-DEBUG: message 738s # ba-DEBUG: message 738s # ba-INFO: message 738s ok 4 /logging/set-handler 738s ok 5 /logging/print-handler 738s ok 6 /logging/printerr-handler 738s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 738s # The Log Message Handler 738s # 738s # The Good Fail Message Handler 738s # 738s ok 7 /logging/653052 738s ok 8 /logging/gibberish 738s # Start of default-handler tests 738s # Start of subprocess tests 738s # End of subprocess tests 738s # End of default-handler tests 738s # End of logging tests 738s # Start of structured-logging tests 738s ok 9 /structured-logging/no-state 738s ok 10 /structured-logging/some-state 738s ok 11 /structured-logging/robustness 738s ok 12 /structured-logging/roundtrip1 738s ok 13 /structured-logging/roundtrip2 738s ok 14 /structured-logging/roundtrip3 738s ok 15 /structured-logging/variant1 738s ok 16 /structured-logging/variant2 738s ok 17 /structured-logging/set-writer-func-twice 738s # End of structured-logging tests 738s ok - glib/logging.test 738s # Running test: glib/gdbus-close-pending.test 738s TAP version 14 738s # random seed: R02S59dfac44318b8d904ef3595a50eed12a 738s 1..2 738s # Start of gdbus tests 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/close-pending/.dirs/runtime 738s ok 1 /gdbus/close-pending 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_S3Q8X2/gdbus/unref-pending/.dirs/runtime 738s ok 2 /gdbus/unref-pending 738s # End of gdbus tests 738s ok - glib/gdbus-close-pending.test 738s # Running test: glib/dump.test 738s TAP version 14 738s # random seed: R02Saa97a67a46b4194c424fa323c6994e33 738s 1..4 738s # Start of dump tests 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_PV9XX2/dump/empty-file/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_PV9XX2/dump/empty-file/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_PV9XX2/dump/empty-file/.dirs/runtime 738s ok 1 /dump/empty-file 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_PV9XX2/dump/missing-get-type/.dirs/runtime 738s Invalid GType function: 'does_not_exist_get_type' 738s ok 2 /dump/missing-get-type 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_PV9XX2/dump/missing-quark/.dirs/runtime 738s Invalid error quark function: 'does_not_exist_error' 738s ok 3 /dump/missing-quark 738s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_PV9XX2/dump/basic/.dirs/home 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_PV9XX2/dump/basic/.dirs/cache 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_PV9XX2/dump/basic/.dirs/system-config1:/tmp/test_dump_PV9XX2/dump/basic/.dirs/system-config2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_PV9XX2/dump/basic/.dirs/config 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_PV9XX2/dump/basic/.dirs/system-data1:/tmp/test_dump_PV9XX2/dump/basic/.dirs/system-data2 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_PV9XX2/dump/basic/.dirs/data 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_PV9XX2/dump/basic/.dirs/state 738s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_PV9XX2/dump/basic/.dirs/runtime 738s ok 4 /dump/basic 738s # End of dump tests 738s ok - glib/dump.test 738s # Running test: glib/assert-msg-test.py.test 738s TAP version 13 738s ok 1 __main__.TestAssertMessage.test_gassert 738s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 738s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 738s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-CLhGhSV7jA,guid=de6407f4b9f3775c413ef6a1674fb8e6', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.DcYP6S/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.33hN0jex8q', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.gZFbjE/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.DcYP6S/wrapper.sh --artifacts=/tmp/autopkgtest.DcYP6S/installed-tests-artifacts --chdir=/tmp/autopkgtest.DcYP6S/build.xRy/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.DcYP6S/installed-tests-stderr --stdout=/tmp/autopkgtest.DcYP6S/installed-tests-stdout --tmp=/tmp/autopkgtest.DcYP6S/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xauth/1:1.1.2-1.1 --make-executable=/tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests -- /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.DcYP6S/build.xRy/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.DcYP6S/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 738s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 738s # Error: ** 738s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 738s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 738s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 738s 1..2 738s ok - glib/assert-msg-test.py.test 738s # Running test: glib/closure-refcount.test 738s TAP version 14 738s # random seed: R02S12f8aa34558c559d5769e5c2114d9088 738s 1..1 738s # Start of closure tests 738s # Init 0x2aa0df821d0 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from thread2 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread2 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from thread1 738s # Yielding from thread2 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from thread2 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread2 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread1 738s # Yielding from main thread 738s # Yielding from thread2 738s # Yielding from main thread 738s # Yielding from main thread 738s # Yielding from thread2 738s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from main thread 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread2 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from main thread 739s # Yielding from thread1 739s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from main thread 740s # Yielding from thread1 740s # Yielding from thread2 740s # Yielding from thread2 740s # Yielding from main thread 740s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from thread2 741s # Yielding from thread2 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread2 741s # Yielding from thread1 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread2 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from thread2 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread2 741s # Yielding from thread2 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread1 741s # Yielding from thread2 741s # Yielding from thread1 741s # Yielding from main thread 741s # Yielding from thread1 741s # Stopping 741s # Stopped 741s ok 1 /closure/refcount 741s # slow test /closure/refcount executed in 3.07 secs 741s # End of closure tests 741s ok - glib/closure-refcount.test 741s # Running test: glib/signals-refcount4.test 741s TAP version 14 741s # random seed: R02S70e90447f01c3f388c7b509503c5a502 741s 1..1 741s # Start of gobject tests 741s # Start of refcount tests 741s # init 0x2aa07e14420 741s # 741s # init 0x2aa07e145c0 741s # 741s # Executing: glib/signals-refcount4.test 746s # dispose 0x2aa07e14420! 746s # 746s # dispose 0x2aa07e145c0! 746s # 746s ok 1 /gobject/refcount/signals 746s # slow test /gobject/refcount/signals executed in 5.00 secs 746s # End of refcount tests 746s # End of gobject tests 746s ok - glib/signals-refcount4.test 746s # Running test: glib/network-address.test 746s TAP version 14 746s # random seed: R02S5e0dae7edae242fef68aa8159bca5e7e 746s 1..72 746s # Start of network-address tests 746s ok 1 /network-address/basic 746s ok 2 /network-address/scope-id 746s ok 3 /network-address/uri-scope-id 746s ok 4 /network-address/to-string 746s # Start of parse-host tests 746s ok 5 /network-address/parse-host/0 746s ok 6 /network-address/parse-host/1 746s ok 7 /network-address/parse-host/2 746s ok 8 /network-address/parse-host/3 746s ok 9 /network-address/parse-host/4 746s ok 10 /network-address/parse-host/5 746s ok 11 /network-address/parse-host/6 746s ok 12 /network-address/parse-host/7 746s ok 13 /network-address/parse-host/8 746s ok 14 /network-address/parse-host/9 746s ok 15 /network-address/parse-host/10 746s ok 16 /network-address/parse-host/11 746s ok 17 /network-address/parse-host/12 746s ok 18 /network-address/parse-host/13 746s # End of parse-host tests 746s # Start of parse-uri tests 746s ok 19 /network-address/parse-uri/0 746s ok 20 /network-address/parse-uri/1 746s ok 21 /network-address/parse-uri/2 746s ok 22 /network-address/parse-uri/3 746s ok 23 /network-address/parse-uri/4 746s ok 24 /network-address/parse-uri/5 746s ok 25 /network-address/parse-uri/6 746s ok 26 /network-address/parse-uri/7 746s ok 27 /network-address/parse-uri/8 746s ok 28 /network-address/parse-uri/9 746s # End of parse-uri tests 746s # Start of resolve-address tests 746s # Input: 192.168.1.2 746s ok 29 /network-address/resolve-address/0 746s # Input: fe80::42 746s ok 30 /network-address/resolve-address/1 746s # Input: 192.168.1.2:80 746s ok 31 /network-address/resolve-address/2 746s # Input: [fe80::42] 746s ok 32 /network-address/resolve-address/3 746s # Input: [fe80::42]:80 746s ok 33 /network-address/resolve-address/4 746s # Input: 192.168.258 746s ok 34 /network-address/resolve-address/5 746s # Input: 192.11010306 746s ok 35 /network-address/resolve-address/6 746s # Input: 3232235778 746s ok 36 /network-address/resolve-address/7 746s # Input: 0300.0250.0001.0001 746s ok 37 /network-address/resolve-address/8 746s # Input: 0xC0.0xA8.0x01.0x02 746s ok 38 /network-address/resolve-address/9 746s # Input: 0xc0.0xa8.0x01.0x02 746s ok 39 /network-address/resolve-address/10 746s # Input: 0xc0a80102 746s ok 40 /network-address/resolve-address/11 746s # End of resolve-address tests 746s # Start of loopback tests 746s ok 41 /network-address/loopback/basic 746s ok 42 /network-address/loopback/sync 746s ok 43 /network-address/loopback/async 746s # End of loopback tests 746s # Start of localhost tests 746s ok 44 /network-address/localhost/async 746s ok 45 /network-address/localhost/sync 746s # End of localhost tests 746s # Start of happy-eyeballs tests 746s ok 46 /network-address/happy-eyeballs/basic 746s # Executing: glib/network-address.test 746s ok 47 /network-address/happy-eyeballs/parallel 746s ok 48 /network-address/happy-eyeballs/slow-ipv4 747s ok 49 /network-address/happy-eyeballs/slow-ipv6 747s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 747s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 747s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 747s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 747s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 747s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 747s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 747s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 747s # /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. 747s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 748s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 748s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 748s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 748s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 748s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 748s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 748s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 748s ok 57 /network-address/happy-eyeballs/both-error 748s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 748s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 748s ok 58 /network-address/happy-eyeballs/both-error-delays-1 748s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 748s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 748s ok 59 /network-address/happy-eyeballs/both-error-delays-2 748s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 748s ok 60 /network-address/happy-eyeballs/both-error-delays-3 748s # End of happy-eyeballs tests 748s # End of network-address tests 748s # Start of gresolver tests 748s # Start of resolve-address tests 748s # Input: 192.168.1.2 748s ok 61 /gresolver/resolve-address/0 748s # Input: fe80::42 748s ok 62 /gresolver/resolve-address/1 748s # Input: 192.168.1.2:80 748s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 748s ok 63 /gresolver/resolve-address/2 748s # Input: [fe80::42] 748s # Error: Error resolving ?[fe80::42]?: Name or service not known 748s ok 64 /gresolver/resolve-address/3 748s # Input: [fe80::42]:80 748s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 748s ok 65 /gresolver/resolve-address/4 748s # Input: 192.168.258 748s # Error: Error resolving ?192.168.258?: Name or service not known 748s ok 66 /gresolver/resolve-address/5 748s # Input: 192.11010306 748s # Error: Error resolving ?192.11010306?: Name or service not known 748s ok 67 /gresolver/resolve-address/6 748s # Input: 3232235778 748s # Error: Error resolving ?3232235778?: Name or service not known 748s ok 68 /gresolver/resolve-address/7 748s # Input: 0300.0250.0001.0001 748s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 748s ok 69 /gresolver/resolve-address/8 748s # Input: 0xC0.0xA8.0x01.0x02 748s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 748s ok 70 /gresolver/resolve-address/9 748s # Input: 0xc0.0xa8.0x01.0x02 748s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 748s ok 71 /gresolver/resolve-address/10 748s # Input: 0xc0a80102 748s # Error: Error resolving ?0xc0a80102?: Name or service not known 748s ok 72 /gresolver/resolve-address/11 748s # End of resolve-address tests 748s # End of gresolver tests 748s ok - glib/network-address.test 748s # Running test: glib/memory-input-stream.test 748s TAP version 14 748s # random seed: R02S932ccba8a88b4259638ac18779ba393b 748s 1..6 748s # Start of memory-input-stream tests 748s ok 1 /memory-input-stream/read-chunks 748s ok 2 /memory-input-stream/async 748s ok 3 /memory-input-stream/seek 748s ok 4 /memory-input-stream/truncate 748s ok 5 /memory-input-stream/read-bytes 748s ok 6 /memory-input-stream/from-bytes 748s # End of memory-input-stream tests 748s ok - glib/memory-input-stream.test 748s # Running test: glib/basic-signals.test 748s TAP version 14 748s # random seed: R02S8ce0106cca0dc1d73612d269da100dd4 748s 1..1 748s # Start of gobject tests 748s ok 1 /gobject/basic-signals 748s # End of gobject tests 748s ok - glib/basic-signals.test 748s # Running test: glib/gdbus-address-get-session.test 748s TAP version 14 748s # random seed: R02S9d7c35f8e02f6d381a10061eadaf7df1 748s 1..2 748s # Start of gdbus tests 748s ok 1 /gdbus/x11-autolaunch 748s ok 2 /gdbus/xdg-runtime 748s # End of gdbus tests 748s ok - glib/gdbus-address-get-session.test 748s # Running test: glib/option-argv0.test 748s TAP version 14 748s # random seed: R02S7e19b6232821e46379ff6ebd0527c8aa 748s 1..1 748s # Start of option tests 748s ok 1 /option/argv0 748s # End of option tests 748s ok - glib/option-argv0.test 748s # Running test: glib/live-g-file.test 748s TAP version 14 748s # random seed: R02S16096cab645653ea837d8672a1f2355f 748s 1..13 748s # Start of live-g-file tests 748s # Cleaning target testing structure in 'testdir_live-g-file'... 748s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 748s ok 1 /live-g-file/prep_clean_structure 748s # 748s # Going to create testing structure in 'testdir_live-g-file'... 748s # Creating directory 'dir1'... 748s # Creating directory 'dir1/subdir'... 748s # Creating directory 'dir2'... 748s # Creating directory 'dir-target'... 748s # Creating directory 'dir_no-access'... 748s # Creating directory 'dir_no-write'... 748s # Creating file 'target-file'... 748s # Creating file 'normal_file'... 748s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 748s # Creating file 'executable_file'... 748s # Creating file 'private_file'... 748s # Creating file 'normal_file2'... 748s # Creating file 'readonly_file'... 748s # Creating file 'UTF_pr?i?lis? z'... 748s # Creating directory 'dir_pr?i?lis? z'... 748s # Creating symlink 'lost_symlink' --> 'nowhere'... 748s # Creating directory 'dir_hidden'... 748s # Creating file 'dir_hidden/.a-hidden-file'... 748s # Creating file 'dir_hidden/file-in-.hidden1'... 748s # Creating file 'dir_hidden/file-in-.hidden2'... 748s # Creating pattern file... 748s # done. 748s ok 2 /live-g-file/create_structure 748s # Testing sample structure in 'testdir_live-g-file'... 748s # Testing file 'dir1'... 748s # Testing file 'dir1/subdir'... 748s # Testing file 'dir2'... 748s # Testing file 'dir-target'... 748s # Testing file 'dir_no-access'... 748s # Testing file 'dir_no-write'... 748s # Testing file 'target-file'... 748s # Testing file 'normal_file'... 748s # Testing file 'normal_file-symlink'... 748s # Testing file 'executable_file'... 748s # Testing file 'private_file'... 748s # Testing file 'normal_file2'... 748s # Testing file 'readonly_file'... 748s # Testing file 'UTF_pr?i?lis? z'... 748s # Testing file 'dir_pr?i?lis? z'... 748s # Testing file 'lost_symlink'... 748s # Testing file 'dir_hidden'... 748s # Testing file 'dir_hidden/.a-hidden-file'... 748s # Testing file 'dir_hidden/file-in-.hidden1'... 748s # Testing file 'dir_hidden/file-in-.hidden2'... 748s # Testing pattern file... 748s # read 65536 bytes, total = 65536 of 65536. 748s ok 3 /live-g-file/test_initial_structure 748s # Traversing through the sample structure in 'testdir_live-g-file'... 748s # Found file dir1, relative to root: dir1 748s # Found file subdir, relative to root: dir1/subdir 748s # Found file dir2, relative to root: dir2 748s # Found file dir-target, relative to root: dir-target 748s # Found file dir_no-access, relative to root: dir_no-access 748s # Found file dir_no-write, relative to root: dir_no-write 748s # Found file target-file, relative to root: target-file 748s # Found file normal_file, relative to root: normal_file 748s # Found file normal_file-symlink, relative to root: normal_file-symlink 748s # Found file executable_file, relative to root: executable_file 748s # Found file private_file, relative to root: private_file 748s # Found file normal_file2, relative to root: normal_file2 748s # Found file readonly_file, relative to root: readonly_file 748s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 748s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 748s # Found file lost_symlink, relative to root: lost_symlink 748s # Found file dir_hidden, relative to root: dir_hidden 748s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 748s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 748s # Found file .hidden, relative to root: dir_hidden/.hidden 748s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 748s # Found file pattern_file, relative to root: pattern_file 748s ok 4 /live-g-file/test_traverse_structure 748s # Test enumerate 'testdir_live-g-file'... 748s # Testing file 'dir_no-access' 748s # Testing file 'normal_file' 748s # Testing file 'normal_file-symlink' 748s # Testing file 'not_exists' 748s # Testing file 'not_exists' 748s # Testing file 'not_exists2' 748s # Testing file 'not_exists3' 748s # Testing file 'not_exists4' 748s # Testing file 'dir_no-execute/file' 748s ok 5 /live-g-file/test_enumerate 748s # test_open: 'dir1' 748s # test_open: 'dir_no-access' 748s # test_open: 'target-file' 748s # test_open: 'normal_file-symlink' 748s # test_open: 'executable_file' 748s # test_open: 'private_file' 748s # test_open: 'readonly_file' 748s # test_open: 'UTF_pr?i?lis? z' 748s # test_open: 'pattern_file' 748s # test_open: 'not_exists' 748s # test_open: 'dir_no-execute/file' 748s # test_open: 'lost_symlink' 748s ok 6 /live-g-file/test_open 748s # test_create: 'dir1' 748s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir1?: Is a directory 748s # test_create: 'dir1/subdir' 748s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir1/subdir?: Is a directory 748s # test_create: 'dir2' 748s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir2?: File exists 748s # test_create: 'normal_file' 748s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/normal_file?: File exists 748s # test_create: 'executable_file' 748s # test_create: 'private_file' 748s # test_create: 'normal_file2' 748s # test_create: 'UTF_pr?i?lis? z' 748s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 748s # test_create: 'dir_pr?i?lis? z' 748s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 748s # test_create: 'pattern_file' 748s # test_create: 'not_exists2' 748s # test_create: 'not_exists3' 748s # test_create: 'not_exists4' 748s ok 7 /live-g-file/test_create 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir1/subdir' --> 'dir-target' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir1/subdir' --> '.' 748s # res = 0, error code 2 = Target file exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir1/subdir' --> 'target-file' 748s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir1/subdir' --> 'not_exists' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir2' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir-target' --> 'dir-target' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir-target' --> '.' 748s # res = 0, error code 2 = Target file exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir-target' --> 'target-file' 748s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/dir-target?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir-target' --> 'not_exists' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir-target' --> 'dir_no-access' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'dir-target' --> 'dir_no-write' 748s # res = 0, error code 25 = Can?t recursively copy directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'target-file' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'target-file' --> '.' 748s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file?: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'target-file' --> 'target-file' 748s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/target-file?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'target-file' --> 'not_exists' 748s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/target-file?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'target-file' --> 'dir_no-access' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'target-file' --> 'dir_no-write' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file-symlink' --> '.' 748s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/normal_file-symlink: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file-symlink' --> 'target-file' 748s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 748s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 748s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 748s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> '.' 748s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/executable_file?: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> 'target-file' 748s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/executable_file?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> 'not_exists' 748s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> 'dir_no-access' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'executable_file' --> 'dir_no-write' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> '.' 748s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/private_file?: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> 'target-file' 748s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/private_file?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> 'not_exists' 748s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/private_file?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> 'dir_no-access' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'private_file' --> 'dir_no-write' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> '.' 748s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/normal_file2?: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> 'target-file' 748s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/normal_file2?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> 'not_exists' 748s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> 'dir_no-access' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'normal_file2' --> 'dir_no-write' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 748s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 748s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 748s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'pattern_file' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'pattern_file' --> '.' 748s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/pattern_file?: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'pattern_file' --> 'target-file' 748s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/pattern_file?: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'pattern_file' --> 'not_exists' 748s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'pattern_file' --> 'dir_no-access' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'pattern_file' --> 'dir_no-write' 748s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> 'dir-target' 748s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> '.' 748s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> 'target-file' 748s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> 'not_exists' 748s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> 'dir_no-access' 748s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> 'dir_no-write' 748s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists?: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'not_exists' --> 'dir-target' 748s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'lost_symlink' --> 'dir-target' 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'lost_symlink' --> '.' 748s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/lost_symlink: File exists 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'lost_symlink' --> 'target-file' 748s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/target-file/lost_symlink: Not a directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'lost_symlink' --> 'not_exists' 748s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 748s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 748s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 748s ok 8 /live-g-file/test_copy_move 748s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir1 748s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir1: Directory not empty 748s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir2 748s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir2: No such file or directory 748s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/executable_file 748s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/readonly_file 748s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_pr?i?lis? z 748s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists 748s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists: No such file or directory 748s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists 748s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/not_exists: No such file or directory 748s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-execute/file 748s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/dir_no-execute/file: No such file or directory 748s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-DPX3X2/testdir_live-g-file/lost_symlink 748s ok 9 /live-g-file/test_delete 748s # We do not have CAP_DAC_OVERRIDE or equivalent 748s ok 10 /live-g-file/test_make_directory_with_parents 748s # Cleaning target testing structure in 'testdir_live-g-file'... 748s # deleting 'dir1' 748s # deleting 'subdir' 748s # deleting 'dir-target' 748s # deleting 'dir2' 748s # deleting 'target-file' 748s # deleting 'normal_file-symlink' 748s # deleting 'pattern_file' 748s # deleting 'executable_file' 748s # deleting 'private_file' 748s # deleting 'normal_file2' 748s # deleting 'UTF_pr?i?lis? z' 748s # deleting 'lost_symlink' 748s # deleting 'dir_no-access' 748s # deleting 'dir_no-write' 748s # deleting 'target-file' 748s # deleting 'normal_file' 748s # deleting 'normal_file-symlink' 748s # deleting 'executable_file~' 748s # deleting 'private_file' 748s # deleting 'normal_file2~' 748s # deleting 'a' 748s # deleting 'UTF_pr?i?lis? z' 748s # deleting 'dir_hidden' 748s # deleting '.a-hidden-file' 748s # deleting 'file-in-.hidden1' 748s # deleting '.hidden' 748s # deleting 'file-in-.hidden2' 748s # deleting 'pattern_file' 748s # deleting 'normal_file2' 748s # deleting 'not_exists2' 748s # deleting 'not_exists3' 748s # deleting 'not_exists4' 748s ok 11 /live-g-file/final_clean 748s # Start of test_unix_is_mountpoint tests 748s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 748s ok 13 /live-g-file/test_unix_is_mountpoint/proc 748s # End of test_unix_is_mountpoint tests 748s # End of live-g-file tests 748s ok - glib/live-g-file.test 748s # Running test: glib/static-link.test 748s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 748s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 748s and make sure you have glib build dependencies installed, including 748s meson. 748s ok # SKIP - glib/static-link.test 748s # Running test: glib/rand.test 748s TAP version 14 748s # random seed: R02S81144c91d9a166c6cbc46745f6dfc5d0 748s 1..2 748s # Start of rand tests 748s ok 1 /rand/test-rand 748s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 748s ok 2 /rand/double-range 748s # End of rand tests 748s ok - glib/rand.test 748s # Running test: glib/portal-support-flatpak-network-only.test 748s TAP version 14 748s # random seed: R02S01f8a9cbdcf10eb5752878625c21bd1c 748s 1..1 748s # Start of portal-support tests 748s # Start of flatpak tests 748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/home 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/cache 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/system-config2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/config 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/system-data2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/data 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/state 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/runtime 748s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_N221X2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 748s ok 1 /portal-support/flatpak/network 748s # End of flatpak tests 748s # End of portal-support tests 748s ok - glib/portal-support-flatpak-network-only.test 748s # Running test: glib/threadtests.test 748s TAP version 14 748s # random seed: R02S4252edc14c8a501a6ea688e4a5ded2fb 748s 1..5 748s # Start of GObject tests 748s ok 1 /GObject/threaded-object-init 749s ok 2 /GObject/threaded-weak-ref 749s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 749s # /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 749s ok 3 /GObject/threaded-toggle-notify 749s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 749s # Start of threaded-weak-ref tests 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 749s # /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. 749s ok 5 /GObject/threaded-weak-ref/on-finalization 749s # End of threaded-weak-ref tests 749s # End of GObject tests 749s ok - glib/threadtests.test 749s # Running test: glib/union-info.test 749s TAP version 14 749s # random seed: R02S258fe2ba443b1f50e092d9debc328bf5 749s 1..2 749s # Start of union-info tests 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_RZ73X2/union-info/basic/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_RZ73X2/union-info/basic/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_RZ73X2/union-info/basic/.dirs/runtime 749s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 749s # /union-info/basic summary: Test basic properties of GIUnionInfo 749s ok 1 /union-info/basic 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_RZ73X2/union-info/methods/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_RZ73X2/union-info/methods/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_RZ73X2/union-info/methods/.dirs/runtime 749s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 749s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 749s ok 2 /union-info/methods 749s # End of union-info tests 749s ok - glib/union-info.test 749s # Running test: glib/portal-support-none.test 749s TAP version 14 749s # random seed: R02S7c29aee6928228dd54ca5a16c238f673 749s 1..1 749s # Start of portal-support tests 749s ok 1 /portal-support/none 749s # End of portal-support tests 749s ok - glib/portal-support-none.test 749s # Running test: glib/cmph-bdz.test 749s TAP version 14 749s # random seed: R02S9c77c612c078023e178696549f8c5703 749s 1..2 749s # Start of cmph-bdz tests 749s ok 1 /cmph-bdz/search 749s ok 2 /cmph-bdz/search-packed 749s # End of cmph-bdz tests 749s ok - glib/cmph-bdz.test 749s # Running test: glib/completion.test 749s TAP version 14 749s # random seed: R02S42dc150400d3327695abf9fbae3c7074 749s 1..1 749s # Start of completion tests 749s ok 1 /completion/test-completion 749s # End of completion tests 749s ok - glib/completion.test 749s # Running test: glib/deprecated-properties.test 749s TAP version 14 749s # random seed: R02Sc49bbb13a8dc166dcb2a1444c3d940b4 749s 1..3 749s # Start of deprecated-properties tests 749s ok 1 /deprecated-properties/construct 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 749s ok 2 /deprecated-properties/default-construct 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 749s ok 3 /deprecated-properties/set 749s # End of deprecated-properties tests 749s ok - glib/deprecated-properties.test 749s # Running test: glib/actions.test 749s TAP version 14 749s # random seed: R02S814c40755ae01887fbf29ccda2e0c638 749s 1..13 749s # Start of actions tests 749s ok 1 /actions/basic 749s ok 2 /actions/name 749s ok 3 /actions/simplegroup 749s ok 4 /actions/stateful 749s ok 5 /actions/default-activate 749s ok 6 /actions/entries 749s ok 7 /actions/parse-detailed 749s ok 8 /actions/property 749s ok 9 /actions/no-properties 749s # Start of dbus tests 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s ok 10 /actions/dbus/export 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s ok 11 /actions/dbus/threaded 749s # slow test /actions/dbus/threaded executed in 0.67 secs 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s ok 12 /actions/dbus/bug679509 750s # Start of export tests 750s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 750s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 750s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 750s ok 13 /actions/dbus/export/error-handling 750s # End of export tests 750s # End of dbus tests 750s # End of actions tests 750s ok - glib/actions.test 750s # Running test: glib/throws.test 750s TAP version 14 750s # random seed: R02S7ff7a53353a6a07973774114c2cdbcbf 750s 1..3 750s # Start of throws tests 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_702MX2/throws/invoke-gerror/.dirs/runtime 750s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 750s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 750s ok 1 /throws/invoke-gerror 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_702MX2/throws/vfunc-can-throw-gerror/.dirs/runtime 750s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 750s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 750s ok 2 /throws/vfunc-can-throw-gerror 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_702MX2/throws/callback-can-throw-gerror/.dirs/runtime 750s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 750s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 750s ok 3 /throws/callback-can-throw-gerror 750s # End of throws tests 750s ok - glib/throws.test 750s # Running test: glib/io-channel-basic.test 750s TAP version 14 750s # random seed: R02S6c4b7eee4612ac9bd8fac2916dce625e 750s 1..1 750s # Start of gio tests 750s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 750s # random seed: R02Sf1313b6c05f24c76f2465c18767bdcd3 750s # GLib-DEBUG: io-channel-basic: child writing 8+505 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 505 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+451 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 451 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 750s # GLib-DEBUG: io-channel-basic: child writing 8+4621 bytes to 6 750s # GLib-DEBUG: io-channel-basic: ...from 5: IN 750s # GLib-DEBUG: io-channel-basic: ...from 5: 4621 bytes 750s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2227 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 2227 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+3260 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 3260 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # GLib-DEBUG: io-channel-basic: child writing 8+2129 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 2129 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 751s # Executing: glib/io-channel-basic.test 751s # GLib-DEBUG: io-channel-basic: child writing 8+1275 bytes to 6 751s # GLib-DEBUG: io-channel-basic: ...from 5: IN 751s # GLib-DEBUG: io-channel-basic: ...from 5: 1275 bytes 751s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+2732 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 2732 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+1602 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 1602 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+3855 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 3855 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 752s # GLib-DEBUG: io-channel-basic: child writing 8+2799 bytes to 6 752s # GLib-DEBUG: io-channel-basic: ...from 5: IN 752s # GLib-DEBUG: io-channel-basic: ...from 5: 2799 bytes 752s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+2947 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 2947 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1168 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 1168 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+1315 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 1315 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 753s # GLib-DEBUG: io-channel-basic: child writing 8+4786 bytes to 6 753s # GLib-DEBUG: io-channel-basic: ...from 5: IN 753s # GLib-DEBUG: io-channel-basic: ...from 5: 4786 bytes 753s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1214 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 1214 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+1065 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 1065 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+3375 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 3375 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 754s # GLib-DEBUG: io-channel-basic: child writing 8+4591 bytes to 6 754s # GLib-DEBUG: io-channel-basic: ...from 5: IN 754s # GLib-DEBUG: io-channel-basic: ...from 5: 4591 bytes 754s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+4636 bytes to 6 755s # GLib-DEBUG: io-channel-basic: ...from 5: IN 755s # GLib-DEBUG: io-channel-basic: ...from 5: 4636 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1594 bytes to 6 755s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 755s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 755s # GLib-DEBUG: io-channel-basic: ...from 5: 1594 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 5: OK 755s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 755s # random seed: R02S4b9586825c39d4eddbc1930183b700ff 755s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 755s # random seed: R02S2c43c33dac022605388525d3ad714851 755s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 755s # random seed: R02Sd24fbb9cf1ee424a1cd1552409b5152d 755s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 755s # random seed: R02Sadf6b97dde98052fed509c75323e2785 755s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 755s # random seed: R02S8201f3fe6858a79c574a71302c0fea0f 755s # GLib-DEBUG: io-channel-basic: child writing 8+1216 bytes to 11 755s # GLib-DEBUG: io-channel-basic: ...from 10: IN 755s # GLib-DEBUG: io-channel-basic: ...from 10: 1216 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 10: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3615 bytes to 17 755s # GLib-DEBUG: io-channel-basic: ...from 16: IN 755s # GLib-DEBUG: io-channel-basic: ...from 16: 3615 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 16: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 13 755s # GLib-DEBUG: io-channel-basic: ...from 12: IN 755s # GLib-DEBUG: io-channel-basic: ...from 12: 4325 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 12: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+3508 bytes to 9 755s # GLib-DEBUG: io-channel-basic: ...from 8: IN 755s # GLib-DEBUG: io-channel-basic: ...from 8: 3508 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 8: OK 755s # GLib-DEBUG: io-channel-basic: child writing 8+1382 bytes to 15 755s # GLib-DEBUG: io-channel-basic: ...from 14: IN 755s # GLib-DEBUG: io-channel-basic: ...from 14: 1382 bytes 755s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4597 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 4597 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+2696 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 2696 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+268 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 268 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+456 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 456 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3043 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 3043 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3157 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 3157 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1403 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 1403 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3789 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 3789 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+968 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 968 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4152 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 4152 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+874 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 874 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1291 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 1291 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4660 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 4660 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3432 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 3432 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4684 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 4684 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 756s # Executing: glib/io-channel-basic.test 756s # GLib-DEBUG: io-channel-basic: child writing 8+527 bytes to 9 756s # GLib-DEBUG: io-channel-basic: ...from 8: IN 756s # GLib-DEBUG: io-channel-basic: ...from 8: 527 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 8: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+4299 bytes to 13 756s # GLib-DEBUG: io-channel-basic: ...from 12: IN 756s # GLib-DEBUG: io-channel-basic: ...from 12: 4299 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 12: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+3715 bytes to 11 756s # GLib-DEBUG: io-channel-basic: ...from 10: IN 756s # GLib-DEBUG: io-channel-basic: ...from 10: 3715 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 10: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+21 bytes to 17 756s # GLib-DEBUG: io-channel-basic: ...from 16: IN 756s # GLib-DEBUG: io-channel-basic: ...from 16: 21 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 16: OK 756s # GLib-DEBUG: io-channel-basic: child writing 8+1784 bytes to 15 756s # GLib-DEBUG: io-channel-basic: ...from 14: IN 756s # GLib-DEBUG: io-channel-basic: ...from 14: 1784 bytes 756s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4124 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 4124 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4441 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 4441 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+1156 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 1156 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2723 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 2723 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+1838 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 1838 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+642 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 642 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4023 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 4023 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4920 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 4920 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2576 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 2576 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+1866 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 1866 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+352 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 352 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+815 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 815 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4827 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 4827 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+3080 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 3080 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2944 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 2944 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+450 bytes to 13 757s # GLib-DEBUG: io-channel-basic: ...from 12: IN 757s # GLib-DEBUG: io-channel-basic: ...from 12: 450 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 12: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+4958 bytes to 11 757s # GLib-DEBUG: io-channel-basic: ...from 10: IN 757s # GLib-DEBUG: io-channel-basic: ...from 10: 4958 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 10: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+956 bytes to 9 757s # GLib-DEBUG: io-channel-basic: ...from 8: IN 757s # GLib-DEBUG: io-channel-basic: ...from 8: 956 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 8: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+2719 bytes to 15 757s # GLib-DEBUG: io-channel-basic: ...from 14: IN 757s # GLib-DEBUG: io-channel-basic: ...from 14: 2719 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 14: OK 757s # GLib-DEBUG: io-channel-basic: child writing 8+292 bytes to 17 757s # GLib-DEBUG: io-channel-basic: ...from 16: IN 757s # GLib-DEBUG: io-channel-basic: ...from 16: 292 bytes 757s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+372 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 372 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+2014 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 2014 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1159 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 1159 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4602 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 4602 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3673 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 3673 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3821 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 3821 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+4227 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 4227 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3188 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 3188 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1779 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 1779 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1231 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 1231 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+152 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 152 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+572 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 572 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+2074 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 2074 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+203 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 203 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1996 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 1996 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+3974 bytes to 13 758s # GLib-DEBUG: io-channel-basic: ...from 12: IN 758s # GLib-DEBUG: io-channel-basic: ...from 12: 3974 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 12: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1330 bytes to 17 758s # GLib-DEBUG: io-channel-basic: ...from 16: IN 758s # GLib-DEBUG: io-channel-basic: ...from 16: 1330 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 16: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+323 bytes to 11 758s # GLib-DEBUG: io-channel-basic: ...from 10: IN 758s # GLib-DEBUG: io-channel-basic: ...from 10: 323 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 10: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+1276 bytes to 9 758s # GLib-DEBUG: io-channel-basic: ...from 8: IN 758s # GLib-DEBUG: io-channel-basic: ...from 8: 1276 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 8: OK 758s # GLib-DEBUG: io-channel-basic: child writing 8+757 bytes to 15 758s # GLib-DEBUG: io-channel-basic: ...from 14: IN 758s # GLib-DEBUG: io-channel-basic: ...from 14: 757 bytes 758s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+787 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 787 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1467 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 1467 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3026 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 3026 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2582 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 2582 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1684 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 1684 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+4666 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 4666 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+302 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 302 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+4335 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 4335 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2495 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 2495 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+4794 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 4794 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+4510 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 4510 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+1705 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 1705 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3768 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 3768 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3883 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 3883 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2959 bytes to 15 759s # GLib-DEBUG: io-channel-basic: ...from 14: IN 759s # GLib-DEBUG: io-channel-basic: ...from 14: 2959 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 14: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+3517 bytes to 9 759s # GLib-DEBUG: io-channel-basic: ...from 8: IN 759s # GLib-DEBUG: io-channel-basic: ...from 8: 3517 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 8: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2041 bytes to 17 759s # GLib-DEBUG: io-channel-basic: ...from 16: IN 759s # GLib-DEBUG: io-channel-basic: ...from 16: 2041 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 16: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+881 bytes to 13 759s # GLib-DEBUG: io-channel-basic: ...from 12: IN 759s # GLib-DEBUG: io-channel-basic: ...from 12: 881 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 12: OK 759s # GLib-DEBUG: io-channel-basic: child writing 8+2616 bytes to 11 759s # GLib-DEBUG: io-channel-basic: ...from 10: IN 759s # GLib-DEBUG: io-channel-basic: ...from 10: 2616 bytes 759s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+4279 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 4279 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1040 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 1040 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1044 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 1044 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+4012 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 4012 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3229 bytes to 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 3229 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1722 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 1722 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2328 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 2328 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1414 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 1414 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2662 bytes to 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 2662 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2495 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 2495 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2301 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 2301 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+566 bytes to 9 760s # GLib-DEBUG: io-channel-basic: ...from 8: IN 760s # GLib-DEBUG: io-channel-basic: ...from 8: 566 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 8: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3525 bytes to 17 760s # GLib-DEBUG: io-channel-basic: ...from 16: IN 760s # GLib-DEBUG: io-channel-basic: ...from 16: 3525 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 16: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+3040 bytes to 11 760s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 760s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 760s # GLib-DEBUG: io-channel-basic: ...from 10: 3040 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 10: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+1793 bytes to 13 760s # GLib-DEBUG: io-channel-basic: ...from 12: IN 760s # GLib-DEBUG: io-channel-basic: ...from 12: 1793 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 12: OK 760s # GLib-DEBUG: io-channel-basic: child writing 8+2852 bytes to 15 760s # GLib-DEBUG: io-channel-basic: ...from 14: IN 760s # GLib-DEBUG: io-channel-basic: ...from 14: 2852 bytes 760s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3576 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 3576 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4678 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 4678 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+1003 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 1003 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+1219 bytes to 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 1219 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3703 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 3703 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+613 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 613 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+479 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 479 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3863 bytes to 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 3863 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+53 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 53 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+3682 bytes to 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 3682 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+2442 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 2442 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+101 bytes to 15 761s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 761s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 761s # GLib-DEBUG: io-channel-basic: ...from 14: 101 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 14: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+1224 bytes to 17 761s # GLib-DEBUG: io-channel-basic: ...from 16: IN 761s # GLib-DEBUG: io-channel-basic: ...from 16: 1224 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 16: OK 761s # Executing: glib/io-channel-basic.test 761s # GLib-DEBUG: io-channel-basic: child writing 8+3475 bytes to 9 761s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 761s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 761s # GLib-DEBUG: io-channel-basic: ...from 8: 3475 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 8: OK 761s # GLib-DEBUG: io-channel-basic: child writing 8+4877 bytes to 13 761s # GLib-DEBUG: io-channel-basic: ...from 12: IN 761s # GLib-DEBUG: io-channel-basic: ...from 12: 4877 bytes 761s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+1534 bytes to 17 762s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 762s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 762s # GLib-DEBUG: io-channel-basic: ...from 16: 1534 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 16: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+180 bytes to 13 762s # GLib-DEBUG: io-channel-basic: ...from 12: IN 762s # GLib-DEBUG: io-channel-basic: ...from 12: 180 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s # GLib-DEBUG: io-channel-basic: child writing 8+807 bytes to 13 762s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 762s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 762s # GLib-DEBUG: io-channel-basic: ...from 12: 807 bytes 762s # GLib-DEBUG: io-channel-basic: ...from 12: OK 762s ok 1 /gio/io-basics 762s # slow test /gio/io-basics executed in 12.33 secs 762s # End of gio tests 762s ok - glib/io-channel-basic.test 762s # Running test: glib/rec-mutex.test 762s TAP version 14 762s # random seed: R02S5242711aad8afc095c98e123b7423a10 762s 1..29 762s # Start of thread tests 762s ok 1 /thread/rec-mutex1 762s ok 2 /thread/rec-mutex2 762s ok 3 /thread/rec-mutex3 762s ok 4 /thread/rec-mutex4 762s # Start of rec-mutex tests 762s # Start of perf tests 762s # Start of uncontended tests 762s # max perf: inf mips 762s ok 5 /thread/rec-mutex/perf/uncontended/depth1 762s # max perf: 1.000000 mips 762s ok 6 /thread/rec-mutex/perf/uncontended/depth2 762s # max perf: inf mips 762s ok 7 /thread/rec-mutex/perf/uncontended/depth3 762s # max perf: inf mips 762s ok 8 /thread/rec-mutex/perf/uncontended/depth4 762s # max perf: inf mips 762s ok 9 /thread/rec-mutex/perf/uncontended/depth5 762s # End of uncontended tests 762s # Start of contended1 tests 762s # max perf: inf mips 762s ok 10 /thread/rec-mutex/perf/contended1/depth1 762s # max perf: inf mips 762s ok 11 /thread/rec-mutex/perf/contended1/depth2 762s # max perf: inf mips 762s ok 12 /thread/rec-mutex/perf/contended1/depth3 762s # max perf: inf mips 762s ok 13 /thread/rec-mutex/perf/contended1/depth4 762s # max perf: inf mips 762s ok 14 /thread/rec-mutex/perf/contended1/depth5 762s # End of contended1 tests 762s # Start of contended2 tests 762s # max perf: inf mips 762s ok 15 /thread/rec-mutex/perf/contended2/depth1 762s # max perf: 3.000000 mips 762s ok 16 /thread/rec-mutex/perf/contended2/depth2 762s # max perf: inf mips 762s ok 17 /thread/rec-mutex/perf/contended2/depth3 762s # max perf: inf mips 762s ok 18 /thread/rec-mutex/perf/contended2/depth4 762s # max perf: inf mips 762s ok 19 /thread/rec-mutex/perf/contended2/depth5 762s # End of contended2 tests 762s # Start of contended3 tests 762s # max perf: inf mips 762s ok 20 /thread/rec-mutex/perf/contended3/depth1 762s # max perf: 4.000000 mips 762s ok 21 /thread/rec-mutex/perf/contended3/depth2 762s # max perf: 2.000000 mips 762s ok 22 /thread/rec-mutex/perf/contended3/depth3 762s # max perf: 1.333333 mips 762s ok 23 /thread/rec-mutex/perf/contended3/depth4 762s # max perf: 4.000000 mips 762s ok 24 /thread/rec-mutex/perf/contended3/depth5 762s # End of contended3 tests 762s # Start of contended4 tests 762s # max perf: 5.000000 mips 762s ok 25 /thread/rec-mutex/perf/contended4/depth1 762s # max perf: 2.500000 mips 762s ok 26 /thread/rec-mutex/perf/contended4/depth2 762s # max perf: 2.500000 mips 762s ok 27 /thread/rec-mutex/perf/contended4/depth3 762s # max perf: 2.500000 mips 762s ok 28 /thread/rec-mutex/perf/contended4/depth4 762s # max perf: 2.500000 mips 762s ok 29 /thread/rec-mutex/perf/contended4/depth5 762s # End of contended4 tests 762s # End of perf tests 762s # End of rec-mutex tests 762s # End of thread tests 762s ok - glib/rec-mutex.test 762s # Running test: glib/g-file.test 762s TAP version 14 762s # random seed: R02S0e908534e382824bd3b0902e09e61d33 762s 1..8 762s # Start of g-file tests 762s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 762s ok 1 /g-file/test_g_file_new_null 762s ok 2 /g-file/test_g_file_new_for_path 762s ok 3 /g-file/test_g_file_new_for_uri 762s ok 4 /g-file/test_g_file_dup 762s ok 5 /g-file/test_g_file_get_parse_name_utf8 762s file:///tmp/test-tmp-glib_g-file.test-Q5M0X2 762s file:///tmp 762s file:///tmp 762s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 762s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 762s ok 6 /g-file/test_g_file_new_for_commandline_arg 762s /dir1 /dir1/dir2/dir3/ 762s /dir1/ /dir1/dir2/dir3/ 762s /dir1 /dir1/dir2/dir3 762s /dir1/ /dir1/dir2/dir3 762s /tmp/ /something/ 762s /dir1/dir2 /dir1/ 762s //dir1/new //dir1/new/dir2/dir3 762s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 762s file:///dir1 file:///dir1/dir2/dir3/ 762s file:///dir1/ file:///dir1/dir2/dir3/ 762s file:///dir1 file:///dir1/dir2/dir3 762s file:///dir1/ file:///dir1/dir2/dir3 762s file:///tmp/ file:///something/ 762s file:///dir1/dir2 file:///dir1/ 762s file:////dir1/new file:////dir1/new/dir2/dir3 762s 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 762s ok 7 /g-file/test_g_file_has_prefix 762s ok 8 /g-file/test_g_file_get_parent_child 762s # End of g-file tests 762s ok - glib/g-file.test 762s # Running test: glib/mutex.test 762s TAP version 14 762s # random seed: R02Seb0d82a9ab6ad2c228edf0a07da236bf 762s 1..17 762s # Start of thread tests 762s ok 1 /thread/mutex1 762s ok 2 /thread/mutex2 762s ok 3 /thread/mutex3 762s ok 4 /thread/mutex4 764s ok 5 /thread/mutex5 764s # slow test /thread/mutex5 executed in 2.54 secs 764s # Start of mutex tests 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 764s # /thread/mutex/errno summary: Validates that errno is not touched upon return 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s # /thread/mutex/errno summary: Validates that errno is not touched upon return 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 765s ok 6 /thread/mutex/errno 765s # Start of perf tests 765s # max perf: inf mips 765s ok 7 /thread/mutex/perf/uncontended 765s # Start of contended tests 765s # max perf: inf mips 765s ok 8 /thread/mutex/perf/contended/1 765s # max perf: inf mips 765s ok 9 /thread/mutex/perf/contended/2 765s # max perf: 4.000000 mips 765s ok 10 /thread/mutex/perf/contended/3 765s # max perf: 5.000000 mips 765s ok 11 /thread/mutex/perf/contended/4 765s # max perf: 6.000000 mips 765s ok 12 /thread/mutex/perf/contended/5 765s # max perf: 7.000000 mips 765s ok 13 /thread/mutex/perf/contended/6 765s # max perf: 4.000000 mips 765s ok 14 /thread/mutex/perf/contended/7 765s # max perf: 9.000000 mips 765s ok 15 /thread/mutex/perf/contended/8 765s # max perf: 3.333333 mips 765s ok 16 /thread/mutex/perf/contended/9 765s # max perf: 11.000000 mips 765s ok 17 /thread/mutex/perf/contended/10 765s # End of contended tests 765s # End of perf tests 765s # End of mutex tests 765s # End of thread tests 765s ok - glib/mutex.test 765s # Running test: glib/refstring.test 765s TAP version 14 765s # random seed: R02Sc66609ecfff3f44c662d0434f7a9f9b5 765s 1..6 765s # Start of refstring tests 765s # s = 'hello, world' (0x2aa1ec3c3b0) 765s ok 1 /refstring/base 765s ok 2 /refstring/length 765s ok 3 /refstring/length-auto 765s ok 4 /refstring/length-nuls 765s # s = 'hello, world' (0x2aa1ec3c300) 765s # p = s = 'hello, world' (0x2aa1ec3c300) 765s # releasing p[0x2aa1ec3c300] ('hello, world') 765s # p = 'goodbye, world' (0x2aa1ec3c3b0) 765s # releasing p[0x2aa1ec3c3b0] ('goodbye, world') 765s # releasing s[0x2aa1ec3c300] ('hello, world') 765s ok 5 /refstring/intern 765s ok 6 /refstring/intern-thread-safety 765s # End of refstring tests 765s ok - glib/refstring.test 765s # Running test: glib/dataset.test 765s TAP version 14 765s # random seed: R02S8ab4e40ce2b7190ec5eb7db05270b9bb 765s 1..14 765s # Start of quark tests 765s ok 1 /quark/basic 765s ok 2 /quark/string 765s # End of quark tests 765s # Start of dataset tests 765s ok 3 /dataset/basic 765s ok 4 /dataset/id 765s ok 5 /dataset/full 765s ok 6 /dataset/foreach 765s ok 7 /dataset/destroy 765s # End of dataset tests 765s # Start of datalist tests 765s ok 8 /datalist/basic 765s ok 9 /datalist/id 765s ok 10 /datalist/recursive-clear 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 765s ok 11 /datalist/id-remove-multiple 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 765s ok 12 /datalist/id-remove-multiple-destroy-order 765s ok 13 /datalist/update-atomic 765s # Start of id-remove-multiple tests 765s ok 14 /datalist/id-remove-multiple/resize 765s # End of id-remove-multiple tests 765s # End of datalist tests 765s ok - glib/dataset.test 765s # Running test: glib/resolver-parsing.test 765s TAP version 14 765s # random seed: R02S578758d964e3ddb11052eea1bce562ba 765s 1..21 765s # Start of gresolver tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/invalid-header/.dirs/runtime 765s ok 1 /gresolver/invalid-header 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/record-ownership/.dirs/runtime 765s ok 2 /gresolver/record-ownership 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/unknown-record-type/.dirs/runtime 765s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 765s ok 3 /gresolver/unknown-record-type 765s # Start of mx tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/valid/.dirs/runtime 765s ok 4 /gresolver/mx/valid 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/.dirs/runtime 765s ok 5 /gresolver/mx/invalid 765s # Start of invalid tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short/.dirs/runtime 765s ok 6 /gresolver/mx/invalid/too-short 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/mx/invalid/too-short2/.dirs/runtime 765s ok 7 /gresolver/mx/invalid/too-short2 765s # End of invalid tests 765s # End of mx tests 765s # Start of ns tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/valid/.dirs/runtime 765s ok 8 /gresolver/ns/valid 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/ns/invalid/.dirs/runtime 765s ok 9 /gresolver/ns/invalid 765s # End of ns tests 765s # Start of soa tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/valid/.dirs/runtime 765s ok 10 /gresolver/soa/valid 765s # Start of invalid tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/mname/.dirs/runtime 765s ok 11 /gresolver/soa/invalid/mname 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/rname/.dirs/runtime 765s ok 12 /gresolver/soa/invalid/rname 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/soa/invalid/too-short/.dirs/runtime 765s ok 13 /gresolver/soa/invalid/too-short 765s # End of invalid tests 765s # End of soa tests 765s # Start of srv tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/valid/.dirs/runtime 765s ok 14 /gresolver/srv/valid 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/.dirs/runtime 765s ok 15 /gresolver/srv/invalid 765s # Start of invalid tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short/.dirs/runtime 765s ok 16 /gresolver/srv/invalid/too-short 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/srv/invalid/too-short2/.dirs/runtime 765s ok 17 /gresolver/srv/invalid/too-short2 765s # End of invalid tests 765s # End of srv tests 765s # Start of txt tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/.dirs/runtime 765s ok 18 /gresolver/txt/valid 765s # Start of valid tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/valid/multiple-strings/.dirs/runtime 765s ok 19 /gresolver/txt/valid/multiple-strings 765s # End of valid tests 765s # Start of invalid tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/empty/.dirs/runtime 765s ok 20 /gresolver/txt/invalid/empty 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_Z1NXX2/gresolver/txt/invalid/overflow/.dirs/runtime 765s ok 21 /gresolver/txt/invalid/overflow 765s # End of invalid tests 765s # End of txt tests 765s # End of gresolver tests 765s ok - glib/resolver-parsing.test 765s # Running test: glib/fdo-notification-backend.test 765s TAP version 14 765s # random seed: R02Sfcaea8af2c53b31486094fe3d21f981a 765s 1..2 765s # Start of fdo-notification-backend tests 765s # Test constructing a GFdoNotificationBackend 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 1 /fdo-notification-backend/construction 765s # Start of dbus tests 765s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 2 /fdo-notification-backend/dbus/activate-action 765s # End of dbus tests 765s # End of fdo-notification-backend tests 765s ok - glib/fdo-notification-backend.test 765s # Running test: glib/gvariant.test 765s TAP version 14 765s # random seed: R02S4813c804884bf911cc87010241f2784e 765s 1..64 765s # Start of gvariant tests 765s ok 1 /gvariant/type 765s ok 2 /gvariant/typeinfo 765s ok 3 /gvariant/string 765s ok 4 /gvariant/utf8 766s ok 5 /gvariant/containers 766s ok 6 /gvariant/format-strings 766s ok 7 /gvariant/invalid-varargs 766s ok 8 /gvariant/varargs 766s ok 9 /gvariant/valist 766s ok 10 /gvariant/builder-memory 766s ok 11 /gvariant/hashing 766s ok 12 /gvariant/byteswap 766s ok 13 /gvariant/parser 766s ok 14 /gvariant/parse-failures 766s ok 15 /gvariant/parse-positional 766s ok 16 /gvariant/floating 766s ok 17 /gvariant/bytestring 766s ok 18 /gvariant/lookup-value 766s ok 19 /gvariant/lookup 766s ok 20 /gvariant/compare 766s ok 21 /gvariant/equal 766s ok 22 /gvariant/fixed-array 766s ok 23 /gvariant/check-format-string 766s ok 24 /gvariant/checksum-basic 766s ok 25 /gvariant/checksum-nested 766s ok 26 /gvariant/gbytes 766s ok 27 /gvariant/print-context 766s ok 28 /gvariant/error-quark 766s ok 29 /gvariant/stack-builder-init 766s ok 30 /gvariant/stack-dict-init 766s ok 31 /gvariant/unaligned-construction 766s # Start of type tests 766s # Start of string-scan tests 766s # Start of recursion tests 766s ok 32 /gvariant/type/string-scan/recursion/tuple 766s ok 33 /gvariant/type/string-scan/recursion/array 766s # End of recursion tests 766s # End of string-scan tests 766s # End of type tests 766s # Start of serialiser tests 766s ok 34 /gvariant/serialiser/maybe 766s ok 35 /gvariant/serialiser/array 766s ok 36 /gvariant/serialiser/tuple 766s ok 37 /gvariant/serialiser/variant 766s ok 38 /gvariant/serialiser/strings 766s # Executing: glib/gvariant.test 771s # Executing: glib/gvariant.test 774s ok 39 /gvariant/serialiser/byteswap 774s # slow test /gvariant/serialiser/byteswap executed in 7.52 secs 774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 774s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 774s ok 40 /gvariant/serialiser/children 774s # Start of fuzz tests 774s ok 41 /gvariant/serialiser/fuzz/1% 774s ok 42 /gvariant/serialiser/fuzz/5% 775s ok 43 /gvariant/serialiser/fuzz/9% 775s # slow test /gvariant/serialiser/fuzz/9% executed in 1.15 secs 775s ok 44 /gvariant/serialiser/fuzz/13% 776s ok 45 /gvariant/serialiser/fuzz/17% 776s # slow test /gvariant/serialiser/fuzz/17% executed in 0.52 secs 776s # End of fuzz tests 776s # End of serialiser tests 776s # Start of varargs tests 776s # Start of subprocess tests 776s # End of subprocess tests 776s # End of varargs tests 776s # Start of byteswap tests 776s # /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. 776s ok 46 /gvariant/byteswap/non-normal-non-aligned 776s # End of byteswap tests 776s # Start of parser tests 776s ok 47 /gvariant/parser/integer-bounds 776s ok 48 /gvariant/parser/recursion 776s # Start of recursion tests 776s ok 49 /gvariant/parser/recursion/typedecls 776s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 776s # Text form 0: @mmmu 5 776s # Text form 1: @mmmas ['hello'] 776s # Text form 2: @mmmu just just nothing 776s # Text form 3: @mmmas just just nothing 776s # Text form 4: @mmmu just nothing 776s # Text form 5: @mmmas just nothing 776s # Text form 6: @mmmu nothing 776s # Text form 7: @mmmas nothing 776s ok 50 /gvariant/parser/recursion/maybes 776s # End of recursion tests 776s # End of parser tests 776s # Start of parse tests 776s # Start of subprocess tests 776s # End of subprocess tests 776s # End of parse tests 776s # Start of normal-checking tests 776s ok 51 /gvariant/normal-checking/tuples 776s ok 52 /gvariant/normal-checking/array-offsets 776s ok 53 /gvariant/normal-checking/array-offsets2 776s ok 54 /gvariant/normal-checking/tuple-offsets 776s ok 55 /gvariant/normal-checking/tuple-offsets2 776s ok 56 /gvariant/normal-checking/tuple-offsets3 776s ok 57 /gvariant/normal-checking/tuple-offsets4 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 776s ok 58 /gvariant/normal-checking/tuple-offsets5 776s ok 59 /gvariant/normal-checking/empty-object-path 776s # Start of array-offsets tests 776s ok 60 /gvariant/normal-checking/array-offsets/overlapped 776s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 776s # End of array-offsets tests 776s # Start of tuple-offsets tests 776s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 776s # End of tuple-offsets tests 776s # End of normal-checking tests 776s # Start of recursion-limits tests 776s ok 63 /gvariant/recursion-limits/variant-in-variant 776s ok 64 /gvariant/recursion-limits/array-in-variant 776s # End of recursion-limits tests 776s # End of gvariant tests 776s ok - glib/gvariant.test 776s # Running test: glib/dbus-appinfo.test 776s TAP version 14 776s # random seed: R02Sfb060d00ce901a0482cf7f22f7eb2d8f 776s 1..3 776s # Start of appinfo tests 776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 776s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 776s ok 1 /appinfo/dbusappinfo 776s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 776s dbus-daemon[16047]: [session uid=1000 pid=16047] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=16046 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 776s # Acquired a message bus connection 776s dbus-daemon[16047]: [session uid=1000 pid=16047] Successfully activated service 'org.freedesktop.portal.Documents' 776s # Acquired the name org.freedesktop.portal.Documents 776s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 776s ok 2 /appinfo/flatpak-doc-export 776s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 776s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 776s ok 3 /appinfo/flatpak-missing-doc-export 776s # End of appinfo tests 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # Lost the name org.freedesktop.portal.Documents 776s ok - glib/dbus-appinfo.test 776s # Running test: glib/markup-parse.test 776s TAP version 14 776s # random seed: R02Se962d76ad03e9ec6278fa71512973e8d 776s 1..71 776s # Start of markup tests 776s # Start of parse tests 776s ok 1 /markup/parse/fail-21.gmarkup 776s ok 2 /markup/parse/fail-18.gmarkup 776s ok 3 /markup/parse/fail-39.gmarkup 776s ok 4 /markup/parse/fail-15.gmarkup 776s ok 5 /markup/parse/fail-32.gmarkup 776s ok 6 /markup/parse/fail-19.gmarkup 776s ok 7 /markup/parse/valid-14.gmarkup 776s ok 8 /markup/parse/valid-4.gmarkup 776s ok 9 /markup/parse/fail-20.gmarkup 776s ok 10 /markup/parse/valid-10.gmarkup 776s ok 11 /markup/parse/valid-16.gmarkup 776s ok 12 /markup/parse/fail-34.gmarkup 776s ok 13 /markup/parse/valid-8.gmarkup 776s ok 14 /markup/parse/fail-17.gmarkup 776s ok 15 /markup/parse/fail-10.gmarkup 776s ok 16 /markup/parse/fail-14.gmarkup 776s ok 17 /markup/parse/valid-7.gmarkup 776s ok 18 /markup/parse/fail-44.gmarkup 776s ok 19 /markup/parse/fail-29.gmarkup 776s ok 20 /markup/parse/valid-12.gmarkup 776s ok 21 /markup/parse/fail-43.gmarkup 776s ok 22 /markup/parse/fail-7.gmarkup 776s ok 23 /markup/parse/fail-48.gmarkup 776s ok 24 /markup/parse/fail-52.gmarkup 776s ok 25 /markup/parse/fail-40.gmarkup 776s ok 26 /markup/parse/fail-54.gmarkup 776s ok 27 /markup/parse/valid-3.gmarkup 776s ok 28 /markup/parse/fail-50.gmarkup 776s ok 29 /markup/parse/valid-6.gmarkup 776s ok 30 /markup/parse/fail-42.gmarkup 776s ok 31 /markup/parse/fail-45.gmarkup 776s ok 32 /markup/parse/fail-46.gmarkup 776s ok 33 /markup/parse/fail-37.gmarkup 776s ok 34 /markup/parse/fail-51.gmarkup 776s ok 35 /markup/parse/valid-13.gmarkup 776s ok 36 /markup/parse/fail-22.gmarkup 776s ok 37 /markup/parse/fail-25.gmarkup 776s ok 38 /markup/parse/fail-5.gmarkup 776s ok 39 /markup/parse/fail-35.gmarkup 776s ok 40 /markup/parse/valid-9.gmarkup 776s ok 41 /markup/parse/fail-8.gmarkup 776s ok 42 /markup/parse/valid-17.gmarkup 776s ok 43 /markup/parse/fail-16.gmarkup 776s ok 44 /markup/parse/fail-30.gmarkup 776s ok 45 /markup/parse/valid-11.gmarkup 776s ok 46 /markup/parse/fail-36.gmarkup 776s ok 47 /markup/parse/fail-9.gmarkup 776s ok 48 /markup/parse/fail-47.gmarkup 776s ok 49 /markup/parse/fail-4.gmarkup 776s ok 50 /markup/parse/fail-53.gmarkup 776s ok 51 /markup/parse/fail-13.gmarkup 776s ok 52 /markup/parse/fail-33.gmarkup 776s ok 53 /markup/parse/fail-41.gmarkup 776s ok 54 /markup/parse/valid-2.gmarkup 776s ok 55 /markup/parse/fail-12.gmarkup 776s ok 56 /markup/parse/fail-23.gmarkup 776s ok 57 /markup/parse/fail-24.gmarkup 776s ok 58 /markup/parse/valid-1.gmarkup 776s ok 59 /markup/parse/fail-1.gmarkup 776s ok 60 /markup/parse/fail-3.gmarkup 776s ok 61 /markup/parse/fail-49.gmarkup 776s ok 62 /markup/parse/fail-2.gmarkup 776s ok 63 /markup/parse/fail-11.gmarkup 776s ok 64 /markup/parse/fail-38.gmarkup 776s ok 65 /markup/parse/fail-28.gmarkup 776s ok 66 /markup/parse/valid-15.gmarkup 776s ok 67 /markup/parse/fail-26.gmarkup 776s ok 68 /markup/parse/fail-6.gmarkup 776s ok 69 /markup/parse/valid-5.gmarkup 776s ok 70 /markup/parse/fail-31.gmarkup 776s ok 71 /markup/parse/fail-27.gmarkup 776s # End of parse tests 776s # End of markup tests 776s ok - glib/markup-parse.test 776s # Running test: glib/volumemonitor.test 776s TAP version 14 776s # random seed: R02S03257b7b8773219326dbccdfb7415757 776s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 776s 1..3 776s # Start of volumemonitor tests 776s ok 1 /volumemonitor/connected_drives 776s ok 2 /volumemonitor/volumes 776s ok 3 /volumemonitor/mounts 776s # End of volumemonitor tests 776s ok - glib/volumemonitor.test 776s # Running test: glib/pollable.test 776s TAP version 14 776s # random seed: R02Sba5ae7bc984a6f0978dc6b8a3c3e268d 776s 1..6 776s # Start of pollable tests 776s ok 1 /pollable/converter 776s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 776s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa13c7a7d0 and GSocketClientAsyncConnectData 0x2aa13c6dad0 776s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 776s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 776s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa13c7b850 for GSocketClientAsyncConnectData 0x2aa13c6dad0 776s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 776s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 776s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 776s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 776s ok 2 /pollable/socket 776s # Start of unix tests 776s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 776s ok 3 /pollable/unix/pipe 776s # /pollable/unix/pty summary: Test that PTYs are considered pollable 776s ok 4 /pollable/unix/pty 776s # /pollable/unix/file summary: Test that regular files are not considered pollable 776s ok 5 /pollable/unix/file 776s # /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 776s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 776s # End of unix tests 776s # End of pollable tests 776s ok - glib/pollable.test 776s # Running test: glib/gdbus-auth.test 776s TAP version 14 776s # random seed: R02Sdfc9312ae7087f900dfa835d521ab26e 776s 1..5 776s # Start of gdbus tests 776s # Start of auth tests 776s # Start of client tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/EXTERNAL/.dirs/runtime 776s ok 1 /gdbus/auth/client/EXTERNAL 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 776s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 776s # End of client tests 776s # Start of server tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 776s ok 3 /gdbus/auth/server/ANONYMOUS 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/EXTERNAL/.dirs/runtime 776s ok 4 /gdbus/auth/server/EXTERNAL 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_Y5D2X2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 776s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 776s # End of server tests 776s # End of auth tests 776s # End of gdbus tests 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s ok - glib/gdbus-auth.test 776s # Running test: glib/mem-overflow.test 776s TAP version 14 776s # random seed: R02Se7ef552878f47243f380e04ed753960f 776s 1..2 776s # Start of mem tests 776s ok 1 /mem/overflow 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 776s ok 2 /mem/empty-alloc 776s # Start of overflow tests 776s # Start of subprocess tests 776s # End of subprocess tests 776s # End of overflow tests 776s # Start of empty-alloc tests 776s # End of empty-alloc tests 776s # End of mem tests 776s ok - glib/mem-overflow.test 776s # Running test: glib/base64.test 776s TAP version 14 776s # random seed: R02Sf5fdfa42cb5e4c573e3f3554528b958b 776s 1..28 776s # Start of base64 tests 776s ok 1 /base64/encode 776s ok 2 /base64/decode 776s ok 3 /base64/decode-inplace 776s ok 4 /base64/encode-decode 776s # Start of full tests 776s ok 5 /base64/full/1 776s ok 6 /base64/full/2 776s ok 7 /base64/full/3 776s ok 8 /base64/full/4 776s # End of full tests 776s # Start of encode tests 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 776s ok 9 /base64/encode/empty 776s # Start of incremental tests 776s # Start of small-block tests 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 776s ok 10 /base64/encode/incremental/small-block/1 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 776s ok 11 /base64/encode/incremental/small-block/2 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 776s ok 12 /base64/encode/incremental/small-block/3 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 776s ok 13 /base64/encode/incremental/small-block/4 776s # End of small-block tests 776s # End of incremental tests 776s # End of encode tests 776s # Start of incremental tests 776s # Start of nobreak tests 776s ok 14 /base64/incremental/nobreak/1 776s ok 15 /base64/incremental/nobreak/2 776s ok 16 /base64/incremental/nobreak/3 776s ok 17 /base64/incremental/nobreak/4-a 776s ok 18 /base64/incremental/nobreak/4-b 776s ok 19 /base64/incremental/nobreak/4-c 776s # End of nobreak tests 776s # Start of break tests 776s ok 20 /base64/incremental/break/1 776s ok 21 /base64/incremental/break/2 776s ok 22 /base64/incremental/break/3 776s # End of break tests 776s # Start of smallblock tests 776s ok 23 /base64/incremental/smallblock/1 776s ok 24 /base64/incremental/smallblock/2 776s ok 25 /base64/incremental/smallblock/3 776s ok 26 /base64/incremental/smallblock/4 776s # End of smallblock tests 776s # End of incremental tests 776s # Start of decode tests 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 776s ok 27 /base64/decode/empty 776s # End of decode tests 776s # Start of encode-decode tests 776s # Vector 0: 776s # Vector 1: f 776s # Vector 2: fo 776s # Vector 3: foo 776s # Vector 4: foob 776s # Vector 5: fooba 776s # Vector 6: foobar 776s ok 28 /base64/encode-decode/rfc4648 776s # End of encode-decode tests 776s # End of base64 tests 776s ok - glib/base64.test 776s # Running test: glib/utils-c-17.test 776s TAP version 14 776s # random seed: R02S3f211cb0a494660e1b123f9d0401289c 776s 1..40 776s # Start of utils tests 776s ok 1 /utils/language-names 776s ok 2 /utils/locale-variants 776s ok 3 /utils/version 776s ok 4 /utils/appname 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 776s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 776s ok 5 /utils/prgname-thread-safety 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 776s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 776s ok 6 /utils/tmpdir 776s ok 7 /utils/basic_bits 776s ok 8 /utils/bits 776s ok 9 /utils/swap 776s ok 10 /utils/find-program 776s ok 11 /utils/find-program-for-path 776s ok 12 /utils/debug 776s ok 13 /utils/codeset 776s ok 14 /utils/codeset2 776s ok 15 /utils/console-charset 776s ok 16 /utils/gettext 776s ok 17 /utils/username 776s ok 18 /utils/realname 776s ok 19 /utils/hostname 776s ok 20 /utils/xdgdirs 776s ok 21 /utils/specialdir 776s # NAME: Ubuntu 776s ok 22 /utils/os-info 776s ok 23 /utils/clear-pointer 776s ok 24 /utils/clear-pointer-cast 776s ok 25 /utils/take-pointer 776s ok 26 /utils/clear-source 776s ok 27 /utils/misc-mem 776s # /utils/aligned-mem summary: Aligned memory allocator 776s # Alignment must not be zero 776s # Alignment must be a power of two 776s # Alignment must be a multiple of sizeof(void*) 776s ok 28 /utils/aligned-mem 776s # /utils/free-sized summary: Check that g_free_sized() works 776s ok 29 /utils/free-sized 776s ok 30 /utils/nullify 776s ok 31 /utils/atexit 776s ok 32 /utils/check-setuid 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 776s ok 33 /utils/int-limits 776s ok 34 /utils/clear-list 776s ok 35 /utils/clear-slist 776s # Start of specialdir tests 776s ok 36 /utils/specialdir/desktop 776s # End of specialdir tests 776s # Start of clear-pointer tests 776s ok 37 /utils/clear-pointer/side-effects 776s # End of clear-pointer tests 776s # Start of aligned-mem tests 776s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 776s ok 38 /utils/aligned-mem/alignment 776s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 776s ok 39 /utils/aligned-mem/zeroed 776s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 776s ok 40 /utils/aligned-mem/free-sized 776s # Start of subprocess tests 776s # End of subprocess tests 776s # End of aligned-mem tests 776s # End of utils tests 776s ok - glib/utils-c-17.test 776s # Running test: glib/thread.test 776s TAP version 14 776s # random seed: R02S8dee9b2763195650b6c3fba0585b8d18 776s 1..7 776s # Start of thread tests 776s ok 1 /thread/thread1 776s ok 2 /thread/thread2 776s ok 3 /thread/thread3 776s ok 4 /thread/thread4 776s ok 5 /thread/thread5 776s ok 6 /thread/thread6 776s ok 7 /thread/thread7 776s # End of thread tests 776s ok - glib/thread.test 776s # Running test: glib/cache.test 776s TAP version 14 776s # random seed: R02Sfef850cdcb1bdb927ce0c251ea91bdfb 776s 1..1 776s # Start of cache tests 776s ok 1 /cache/basic 776s # End of cache tests 776s ok - glib/cache.test 776s # Running test: glib/notify-init.test 776s TAP version 14 776s # random seed: R02Sc581a3af9369ea28f25247611c7acce7 776s 1..1 776s # Start of properties tests 776s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 776s ok 1 /properties/notify-in-init 776s # End of properties tests 776s ok - glib/notify-init.test 776s # Running test: glib/gdbus-bz627724.test 776s TAP version 14 776s # random seed: R02Sa6a7ca8145ec862ad2b77c97d0afea88 776s 1..1 776s # Start of gdbus tests 776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/home 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/cache 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/system-config2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/config 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/system-data2 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/data 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/state 776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_6EUZX2/gdbus/bz627724/.dirs/runtime 776s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 776s ok 1 /gdbus/bz627724 776s # End of gdbus tests 776s ok - glib/gdbus-bz627724.test 776s # Running test: glib/utils-c-99.test 776s TAP version 14 776s # random seed: R02S7b66cd58235ac175f4b97be108129ec1 776s 1..40 776s # Start of utils tests 776s ok 1 /utils/language-names 776s ok 2 /utils/locale-variants 776s ok 3 /utils/version 776s ok 4 /utils/appname 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 776s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 776s ok 5 /utils/prgname-thread-safety 776s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 776s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 776s ok 6 /utils/tmpdir 776s ok 7 /utils/basic_bits 776s ok 8 /utils/bits 776s ok 9 /utils/swap 776s ok 10 /utils/find-program 776s ok 11 /utils/find-program-for-path 776s ok 12 /utils/debug 776s ok 13 /utils/codeset 776s ok 14 /utils/codeset2 776s ok 15 /utils/console-charset 776s ok 16 /utils/gettext 776s ok 17 /utils/username 776s ok 18 /utils/realname 776s ok 19 /utils/hostname 776s ok 20 /utils/xdgdirs 776s ok 21 /utils/specialdir 776s # NAME: Ubuntu 776s ok 22 /utils/os-info 776s ok 23 /utils/clear-pointer 776s ok 24 /utils/clear-pointer-cast 776s ok 25 /utils/take-pointer 776s ok 26 /utils/clear-source 776s ok 27 /utils/misc-mem 776s # /utils/aligned-mem summary: Aligned memory allocator 776s # Alignment must not be zero 776s # Alignment must be a power of two 776s # Alignment must be a multiple of sizeof(void*) 776s ok 28 /utils/aligned-mem 776s # /utils/free-sized summary: Check that g_free_sized() works 776s ok 29 /utils/free-sized 776s ok 30 /utils/nullify 776s ok 31 /utils/atexit 776s ok 32 /utils/check-setuid 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 776s ok 33 /utils/int-limits 776s ok 34 /utils/clear-list 776s ok 35 /utils/clear-slist 776s # Start of specialdir tests 776s ok 36 /utils/specialdir/desktop 776s # End of specialdir tests 776s # Start of clear-pointer tests 776s ok 37 /utils/clear-pointer/side-effects 776s # End of clear-pointer tests 776s # Start of aligned-mem tests 776s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 776s ok 38 /utils/aligned-mem/alignment 776s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 776s ok 39 /utils/aligned-mem/zeroed 776s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 776s ok 40 /utils/aligned-mem/free-sized 776s # Start of subprocess tests 776s # End of subprocess tests 776s # End of aligned-mem tests 776s # End of utils tests 776s ok - glib/utils-c-99.test 776s # Running test: glib/dynamictests.test 776s TAP version 14 776s # random seed: R02S87b608dccfbb13c44304ae459c601ee0 776s 1..2 776s # Start of GObject tests 776s ok 1 /GObject/threaded-dynamic-ref-unref-init 776s ok 2 /GObject/dynamic-interface-properties 776s # End of GObject tests 776s ok - glib/dynamictests.test 776s # Running test: glib/signalgroup.test 776s TAP version 14 776s # random seed: R02Sa3c0756b45e0f68815133365442ce222 776s 1..9 776s # Start of GObject tests 776s # Start of SignalGroup tests 776s ok 1 /GObject/SignalGroup/invalid 776s ok 2 /GObject/SignalGroup/simple 776s ok 3 /GObject/SignalGroup/changing-target 776s ok 4 /GObject/SignalGroup/blocking 776s ok 5 /GObject/SignalGroup/weak-ref-target 776s ok 6 /GObject/SignalGroup/connect-object 776s ok 7 /GObject/SignalGroup/signal-parsing 776s ok 8 /GObject/SignalGroup/properties 776s ok 9 /GObject/SignalGroup/interface 776s # Start of signal-parsing tests 776s # End of signal-parsing tests 776s # End of SignalGroup tests 776s # End of GObject tests 776s ok - glib/signalgroup.test 776s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=186.5s; system=39.8s; maxrss=148592 776s autopkgtest [02:10:32]: test installed-tests: -----------------------] 777s autopkgtest [02:10:33]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 777s installed-tests PASS 778s autopkgtest [02:10:34]: test closure-refcount: preparing testbed 778s Reading package lists... 778s Building dependency tree... 778s Reading state information... 778s Starting pkgProblemResolver with broken count: 0 778s Starting 2 pkgProblemResolver with broken count: 0 778s Done 778s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 779s autopkgtest [02:10:35]: test closure-refcount: [----------------------- 779s Running test: glib/closure-refcount.test 779s TAP version 14 779s # random seed: R02Sae108ee72c6a8a8d98d360780f22f685 779s 1..1 779s # Start of closure tests 779s # Init 0x2aa0c2c80a0 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from main thread 781s # Yielding from thread1 781s # Yielding from thread2 781s # Stopping 781s # Stopped 781s ok 1 /closure/refcount 781s # slow test /closure/refcount executed in 1.75 secs 781s # End of closure tests 781s PASS: glib/closure-refcount.test 781s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.5s; system=0.0s; maxrss=3600 781s autopkgtest [02:10:37]: test closure-refcount: -----------------------] 782s closure-refcount PASS 782s autopkgtest [02:10:38]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 782s autopkgtest [02:10:38]: test debugcontroller: preparing testbed 782s Reading package lists... 782s Building dependency tree... 782s Reading state information... 782s Starting pkgProblemResolver with broken count: 0 782s Starting 2 pkgProblemResolver with broken count: 0 782s Done 783s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 783s autopkgtest [02:10:39]: test debugcontroller: [----------------------- 783s Running test: glib/debugcontroller.test 783s TAP version 14 783s # random seed: R02S70961f4b1032bf9b1a8e9381d68e5d57 783s 1..3 783s # Start of debug-controller tests 783s # Start of dbus tests 783s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 783s # GLib-GIO-DEBUG: Debug output enabled 783s # GLib-GIO-DEBUG: Debug output disabled 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s ok 1 /debug-controller/dbus/basic 783s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s ok 2 /debug-controller/dbus/duplicate 783s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 783s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 783s # GLib-GIO-DEBUG: Debug output enabled 783s # GLib-GIO-DEBUG: Debug output disabled 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 783s ok 3 /debug-controller/dbus/properties 783s # End of dbus tests 783s # End of debug-controller tests 783s PASS: glib/debugcontroller.test 783s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6336 784s autopkgtest [02:10:40]: test debugcontroller: -----------------------] 784s debugcontroller PASS 784s autopkgtest [02:10:40]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 784s autopkgtest [02:10:40]: test gdbus-server-auth: preparing testbed 785s Reading package lists... 785s Building dependency tree... 785s Reading state information... 785s Starting pkgProblemResolver with broken count: 0 785s Starting 2 pkgProblemResolver with broken count: 0 785s Done 785s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 786s autopkgtest [02:10:42]: test gdbus-server-auth: [----------------------- 786s Running test: glib/gdbus-server-auth.test 786s TAP version 14 786s # random seed: R02Sf1b41d5e87dce197f23d50fcb4683017 786s 1..9 786s # Start of gdbus tests 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/config 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/system-data2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/data 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/state 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/.dirs/runtime 786s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-NM7ZX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 786s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-NM7ZX2/dbus-tDoeKmMr 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16717 786s ok 1 /gdbus/server-auth 786s # Start of server-auth tests 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/config 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/system-data2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/data 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/state 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/abstract/.dirs/runtime 786s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-B8AZX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 786s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-B8AZX2/dbus-Wf2yDMtd 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16717 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 786s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16717 786s ok 2 /gdbus/server-auth/abstract 786s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/home 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/cache 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/system-config2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/config 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/system-data2 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/data 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/state 786s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/tcp/.dirs/runtime 786s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 786s # Connectable address: tcp:host=127.0.0.1,port=33377 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 786s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 786s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 786s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 786s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 786s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 786s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 787s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 787s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 787s ok 3 /gdbus/server-auth/tcp 787s # slow test /gdbus/server-auth/tcp executed in 1.05 secs 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/.dirs/runtime 787s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-0HWYX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 787s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-0HWYX2/dbus-qHjCC2sh 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16717 787s ok 4 /gdbus/server-auth/anonymous 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/.dirs/runtime 787s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-CVPYX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 787s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-CVPYX2/dbus-KqdmO5xt 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 787s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16717 787s ok 5 /gdbus/server-auth/external 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/.dirs/runtime 787s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-6TXXX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 787s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-6TXXX2/dbus-FXJh9tkV 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16717 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 787s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16717 787s ok 6 /gdbus/server-auth/sha1 787s # Start of anonymous tests 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 787s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 787s # Connectable address: tcp:host=127.0.0.1,port=36653 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 787s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 787s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 787s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 787s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 787s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 788s ok 7 /gdbus/server-auth/anonymous/tcp 788s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.02 secs 788s # End of anonymous tests 788s # Start of external tests 788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/home 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/cache 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/config 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/data 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/state 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 788s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-QCFWX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 788s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_P57ZX2/gdbus-server-auth-QCFWX2/dbus-85C73W1n 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16717 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 788s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16717,uid=1000,gid=1000 788s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16717 788s ok 8 /gdbus/server-auth/external/require-same-user 788s # End of external tests 788s # Start of sha1 tests 788s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/home 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/cache 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/config 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/data 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/state 788s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_P57ZX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 788s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 788s # Connectable address: tcp:host=127.0.0.1,port=39227 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 788s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 788s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 788s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 788s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 788s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 789s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 789s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 789s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 789s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 789s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 789s ok 9 /gdbus/server-auth/sha1/tcp 789s # slow test /gdbus/server-auth/sha1/tcp executed in 1.03 secs 789s # End of sha1 tests 789s # End of server-auth tests 789s # End of gdbus tests 789s PASS: glib/gdbus-server-auth.test 789s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8388 789s autopkgtest [02:10:45]: test gdbus-server-auth: -----------------------] 790s gdbus-server-auth PASS 790s autopkgtest [02:10:46]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 790s autopkgtest [02:10:46]: test gdbus-threading: preparing testbed 790s Reading package lists... 791s Building dependency tree... 791s Reading state information... 791s Starting pkgProblemResolver with broken count: 0 791s Starting 2 pkgProblemResolver with broken count: 0 791s Done 791s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 792s autopkgtest [02:10:48]: test gdbus-threading: [----------------------- 792s Running test: glib/gdbus-threading.test 792s TAP version 14 792s # random seed: R02S878577de4e6c9d2d9a98c83365904fad 792s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 792s 1..3 792s # Start of gdbus tests 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GNB5X2/gdbus/delivery-in-thread/.dirs/runtime 792s ok 1 /gdbus/delivery-in-thread 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GNB5X2/gdbus/method-calls-in-thread/.dirs/runtime 793s ok 2 /gdbus/method-calls-in-thread 793s # slow test /gdbus/method-calls-in-thread executed in 0.81 secs 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/state 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GNB5X2/gdbus/threaded-singleton/.dirs/runtime 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s ok 3 /gdbus/threaded-singleton 793s # End of gdbus tests 793s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 793s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 793s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 793s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 793s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 793s PASS: glib/gdbus-threading.test 793s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6232 793s autopkgtest [02:10:49]: test gdbus-threading: -----------------------] 794s gdbus-threading PASS 794s autopkgtest [02:10:50]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 794s autopkgtest [02:10:50]: test gmenumodel: preparing testbed 794s Reading package lists... 794s Building dependency tree... 794s Reading state information... 795s Starting pkgProblemResolver with broken count: 0 795s Starting 2 pkgProblemResolver with broken count: 0 795s Done 795s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 795s autopkgtest [02:10:51]: test gmenumodel: [----------------------- 796s Running test: glib/gmenumodel.test 796s TAP version 14 796s # random seed: R02Se66ea76d63a37f2c81d6466f1b3d078b 796s 1..15 796s # Start of gmenu tests 796s ok 1 /gmenu/equality 796s ok 2 /gmenu/random 796s ok 3 /gmenu/attributes 796s ok 4 /gmenu/links 796s ok 5 /gmenu/mutable 796s ok 6 /gmenu/convenience 796s ok 7 /gmenu/menuitem 796s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 796s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 797s ok 8 /gmenu/input-validation 797s # Start of dbus tests 797s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 798s ok 9 /gmenu/dbus/roundtrip 798s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 798s ok 10 /gmenu/dbus/subscriptions 799s ok 11 /gmenu/dbus/threaded 799s # slow test /gmenu/dbus/threaded executed in 0.56 secs 799s # Start of peer tests 800s ok 12 /gmenu/dbus/peer/roundtrip 800s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 800s ok 13 /gmenu/dbus/peer/subscriptions 800s # End of peer tests 800s # Start of export tests 800s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 800s ok 14 /gmenu/dbus/export/error-handling 800s # End of export tests 800s # End of dbus tests 800s # Start of attributes tests 800s ok 15 /gmenu/attributes/iterate 800s # End of attributes tests 800s # End of gmenu tests 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 PASS: glib/gmenumodel.test 800s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.9s; system=0.1s; maxrss=38388 800s autopkgtest [02:10:56]: test gmenumodel: -----------------------] 801s autopkgtest [02:10:57]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 801s gmenumodel PASS 801s autopkgtest [02:10:57]: test mainloop: preparing testbed 801s Reading package lists... 801s Building dependency tree... 801s Reading state information... 802s Starting pkgProblemResolver with broken count: 0 802s Starting 2 pkgProblemResolver with broken count: 0 802s Done 802s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 802s autopkgtest [02:10:58]: test mainloop: [----------------------- 803s Running test: glib/mainloop.test 803s TAP version 14 803s # random seed: R02Se748871e55fc4583e916ecdc163c10a3 803s 1..45 803s # Start of maincontext tests 803s ok 1 /maincontext/basic 803s # Add same-priority sources: 11 803s # Find each source: 0 803s # Remove in random order: 8 803s ok 2 /maincontext/nsources_same_priority 803s # Add different-priority sources: 12 803s # Find each source: 0 803s # Remove in random order: 11 803s ok 3 /maincontext/nsources_different_priority 803s # Add sources from threads: 28 803s # Remove sources from threads: 12 803s ok 4 /maincontext/nsources_threadpool 803s ok 5 /maincontext/source_finalization 803s # /maincontext/idle-once summary: Test g_idle_add_once() works 803s ok 6 /maincontext/idle-once 803s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 803s ok 7 /maincontext/timeout-once 803s # Start of source_finalization_from_source tests 803s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 8 /maincontext/source_finalization_from_source/0 803s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 9 /maincontext/source_finalization_from_source/1 803s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 10 /maincontext/source_finalization_from_source/2 803s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 11 /maincontext/source_finalization_from_source/3 803s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 12 /maincontext/source_finalization_from_source/4 803s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 13 /maincontext/source_finalization_from_source/5 803s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 14 /maincontext/source_finalization_from_source/6 803s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 15 /maincontext/source_finalization_from_source/7 803s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 16 /maincontext/source_finalization_from_source/8 803s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 803s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 803s ok 17 /maincontext/source_finalization_from_source/9 803s # End of source_finalization_from_source tests 803s # Start of source_finalization_from_dispatch tests 803s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 803s ok 18 /maincontext/source_finalization_from_dispatch/0 803s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 803s ok 19 /maincontext/source_finalization_from_dispatch/1 803s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 803s ok 20 /maincontext/source_finalization_from_dispatch/2 803s # End of source_finalization_from_dispatch tests 803s # End of maincontext tests 803s # Start of mainloop tests 803s ok 21 /mainloop/basic 803s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 803s ok 23 /mainloop/priorities 803s ok 24 /mainloop/invoke 803s # slow test /mainloop/invoke executed in 0.50 secs 804s ok 25 /mainloop/child_sources 804s # slow test /mainloop/child_sources executed in 1.19 secs 807s ok 26 /mainloop/recursive_child_sources 807s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 807s ok 27 /mainloop/recursive_loop_child_sources 807s ok 28 /mainloop/swapping_child_sources 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 807s ok 29 /mainloop/blocked_child_sources 808s ok 30 /mainloop/source_time 808s # slow test /mainloop/source_time executed in 1.00 secs 808s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 808s ok 31 /mainloop/overflow 808s Executing: glib/mainloop.test 808s ok 32 /mainloop/ready-time 808s # slow test /mainloop/ready-time executed in 0.50 secs 808s ok 33 /mainloop/wakeup 808s ok 34 /mainloop/remove-invalid 808s ok 35 /mainloop/unref-while-pending 809s ok 36 /mainloop/unix-fd 809s ok 37 /mainloop/unix-fd-source 809s ok 38 /mainloop/source-unix-fd-api 809s ok 39 /mainloop/wait 809s ok 40 /mainloop/unix-file-poll 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 809s ok 41 /mainloop/unix-fd-priority 809s ok 42 /mainloop/nfds 809s ok 43 /mainloop/steal-fd 809s # Start of ownerless-polling tests 809s ok 44 /mainloop/ownerless-polling/attach-first 809s ok 45 /mainloop/ownerless-polling/pop-first 809s # End of ownerless-polling tests 809s # End of mainloop tests 809s PASS: glib/mainloop.test 809s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=16084 809s autopkgtest [02:11:05]: test mainloop: -----------------------] 809s autopkgtest [02:11:05]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 809s mainloop PASS 810s autopkgtest [02:11:06]: test memory-monitor-dbus: preparing testbed 810s Reading package lists... 810s Building dependency tree... 810s Reading state information... 810s Starting pkgProblemResolver with broken count: 0 810s Starting 2 pkgProblemResolver with broken count: 0 810s Done 811s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 811s autopkgtest [02:11:07]: test memory-monitor-dbus: [----------------------- 812s Running test: glib/memory-monitor-dbus.test 812s TAP version 13 812s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 812s # Received memory warning signal, level 812s # Received memory warning signal, level 812s # Received memory warning signal, level 812s 1..1 812s PASS: glib/memory-monitor-dbus.test 812s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=30168 812s autopkgtest [02:11:08]: test memory-monitor-dbus: -----------------------] 813s autopkgtest [02:11:09]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 813s memory-monitor-dbus PASS 813s autopkgtest [02:11:09]: test socket: preparing testbed 813s Reading package lists... 813s Building dependency tree... 813s Reading state information... 814s Starting pkgProblemResolver with broken count: 0 814s Starting 2 pkgProblemResolver with broken count: 0 814s Done 814s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 814s autopkgtest [02:11:10]: test socket: [----------------------- 815s Running test: glib/socket.test 815s TAP version 14 815s # random seed: R02Sf83966a55e9e80ea76aa38c094be602a 815s 1..28 815s # Start of socket tests 816s ok 1 /socket/ipv4_sync 816s # slow test /socket/ipv4_sync executed in 1.00 secs 817s ok 2 /socket/ipv4_async 817s # slow test /socket/ipv4_async executed in 1.00 secs 817s ok 3 /socket/ipv6_sync 817s ok 4 /socket/ipv6_async 817s ok 5 /socket/ipv6_v4mapped 818s ok 6 /socket/close_graceful 818s # slow test /socket/close_graceful executed in 1.00 secs 818s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 818s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 818s ok 8 /socket/fd_reuse 818s ok 9 /socket/address 818s ok 10 /socket/unix-from-fd 818s ok 11 /socket/unix-connection 818s ok 12 /socket/unix-connection-ancillary-data 818s ok 13 /socket/source-postmortem 818s ok 14 /socket/read_write 818s ok 15 /socket/read_writev 818s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 818s ok 16 /socket/receive_bytes 818s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 818s ok 17 /socket/receive_bytes_from 818s # Start of ipv4_sync tests 818s ok 18 /socket/ipv4_sync/datagram 818s # Start of datagram tests 819s ok 19 /socket/ipv4_sync/datagram/timeouts 819s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 819s # End of datagram tests 819s # End of ipv4_sync tests 819s # Start of ipv6_sync tests 819s ok 20 /socket/ipv6_sync/datagram 819s # Start of datagram tests 820s ok 21 /socket/ipv6_sync/datagram/timeouts 820s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 820s # End of datagram tests 820s # End of ipv6_sync tests 820s # Start of reuse tests 820s ok 22 /socket/reuse/tcp 820s ok 23 /socket/reuse/udp 820s # End of reuse tests 820s # Start of get_available tests 820s ok 24 /socket/get_available/datagram 820s ok 25 /socket/get_available/stream 820s # End of get_available tests 820s # Start of credentials tests 820s # Supported on this OS: GCredentials:linux-ucred:pid=0 820s ok 26 /socket/credentials/tcp_client 820s # Supported on this OS: GCredentials:linux-ucred:pid=0 820s ok 27 /socket/credentials/tcp_server 820s # Supported on this OS: GCredentials:linux-ucred:pid=18560,uid=1000,gid=1000 820s ok 28 /socket/credentials/unix_socketpair 820s # End of credentials tests 820s # End of socket tests 820s PASS: glib/socket.test 820s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5700 820s autopkgtest [02:11:16]: test socket: -----------------------] 821s socket PASS 821s autopkgtest [02:11:17]: test socket: - - - - - - - - - - results - - - - - - - - - - 821s autopkgtest [02:11:17]: test testfilemonitor: preparing testbed 821s Reading package lists... 821s Building dependency tree... 821s Reading state information... 821s Starting pkgProblemResolver with broken count: 0 821s Starting 2 pkgProblemResolver with broken count: 0 821s Done 822s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 822s autopkgtest [02:11:18]: test testfilemonitor: [----------------------- 823s Running test: glib/testfilemonitor.test 823s TAP version 14 823s # random seed: R02S1a6627151ba4a5e4fd4a2d03158a1546 823s 1..8 823s # Start of monitor tests 823s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 823s # Using temporary directory: /tmp/gio-test-testfilemonitor_RL9MX2 823s # Using GFileMonitor GInotifyFileMonitor 825s ok 1 /monitor/atomic-replace 825s # slow test /monitor/atomic-replace executed in 2.00 secs 825s # Using temporary directory: /tmp/gio-test-testfilemonitor_W55MX2 825s # Using GFileMonitor GInotifyFileMonitor 827s ok 2 /monitor/file-changes 827s # slow test /monitor/file-changes executed in 2.50 secs 827s # Using temporary directory: /tmp/gio-test-testfilemonitor_QSUXX2 827s # Using GFileMonitor GInotifyFileMonitor 828s Executing: glib/testfilemonitor.test 831s ok 3 /monitor/dir-monitor 831s # slow test /monitor/dir-monitor executed in 3.50 secs 831s # Using temporary directory: /tmp/gio-test-testfilemonitor_68F8X2 831s # Using GFileMonitor GInotifyFileMonitor 833s Executing: glib/testfilemonitor.test 838s Executing: glib/testfilemonitor.test 843s Executing: glib/testfilemonitor.test 848s Executing: glib/testfilemonitor.test 853s Executing: glib/testfilemonitor.test 856s ok 4 /monitor/dir-not-existent 856s # slow test /monitor/dir-not-existent executed in 25.02 secs 856s # Using temporary directory: /tmp/gio-test-testfilemonitor_0RO8X2 856s # Using GFileMonitor 0 GInotifyFileMonitor 856s # Using GFileMonitor 1 GInotifyFileMonitor 858s ok 5 /monitor/cross-dir-moves 858s # slow test /monitor/cross-dir-moves executed in 2.00 secs 858s # Using temporary directory: /tmp/gio-test-testfilemonitor_V5K8X2 858s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 858s ok 6 /monitor/finalize-in-callback 858s # Using temporary directory: /tmp/gio-test-testfilemonitor_A5L8X2 858s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 858s ok 7 /monitor/root 858s # Start of file tests 858s # Using temporary directory: /tmp/gio-test-testfilemonitor_HIL8X2 858s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 858s # Running with hard link tests 858s # Using GFileMonitor GInotifyFileMonitor 858s Executing: glib/testfilemonitor.test 861s # Event 0 at expected index 7 skipped because it is marked as optional 861s # Event 2 at expected index 11 skipped because it is marked as optional 861s ok 8 /monitor/file/hard-links 861s # slow test /monitor/file/hard-links executed in 3.50 secs 861s # End of file tests 861s # End of monitor tests 861s PASS: glib/testfilemonitor.test 861s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5856 861s autopkgtest [02:11:57]: test testfilemonitor: -----------------------] 862s testfilemonitor PASS 862s autopkgtest [02:11:58]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 862s autopkgtest [02:11:58]: test thread-pool-slow: preparing testbed 862s Reading package lists... 862s Building dependency tree... 862s Reading state information... 863s Starting pkgProblemResolver with broken count: 0 863s Starting 2 pkgProblemResolver with broken count: 0 863s Done 863s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 863s autopkgtest [02:11:59]: test thread-pool-slow: [----------------------- 864s Running test: glib/thread-pool-slow.test 864s TAP version 14 864s # random seed: R02Sd6f077cf1a10e59cded42038f9c5cf4e 864s 1..7 864s # Start of threadpool tests 864s ok 1 /threadpool/functions 864s ok 2 /threadpool/stop-unused 864s # slow test /threadpool/stop-unused executed in 0.50 secs 864s ok 3 /threadpool/pools 864s # [unsorted] ===> pushed new thread with id:23, number of threads:1, unprocessed:1 864s # [unsorted] ===> pushed new thread with id:10, number of threads:2, unprocessed:1 864s # [unsorted] ===> pushed new thread with id:28, number of threads:3, unprocessed:1 864s # [unsorted] ===> pushed new thread with id:3, number of threads:4, unprocessed:1 864s # [unsorted] ===> pushed new thread with id:73, number of threads:5, unprocessed:1 864s # [unsorted] ===> pushed new thread with id:79, number of threads:6, unprocessed:2 864s # [unsorted] ===> pushed new thread with id:11, number of threads:7, unprocessed:2 864s # [unsorted] ===> pushed new thread with id:85, number of threads:8, unprocessed:3 864s # [unsorted] ===> pushed new thread with id:15, number of threads:9, unprocessed:3 864s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:4 864s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:3 864s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:2 864s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:3 864s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:4 864s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:5 864s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:6 864s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:7 864s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:8 864s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:9 864s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:10 864s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:11 864s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:12 864s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:13 864s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:14 864s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:15 864s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:16 864s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:17 864s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:18 864s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:19 864s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:20 864s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:21 864s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:22 864s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:23 864s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:24 864s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:25 864s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:26 864s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:27 864s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:28 864s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:29 864s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:30 864s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:31 864s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:32 864s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:33 864s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:34 864s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:35 864s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:36 864s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:37 864s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:38 864s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:39 864s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:40 864s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:41 864s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:42 864s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:43 864s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:44 864s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:45 864s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:46 864s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:47 864s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:48 864s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:49 864s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:50 864s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:51 864s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:52 864s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:53 864s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:54 864s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:55 864s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:56 864s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:57 864s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:58 864s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:59 864s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:60 864s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:61 864s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:62 864s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:63 864s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:64 864s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:65 864s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:66 864s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:67 864s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:68 864s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:69 864s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:70 864s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:71 864s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:72 864s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:73 864s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:74 864s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:75 864s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:76 864s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:77 864s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:78 864s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:79 864s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:80 864s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:81 864s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:82 864s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:83 864s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:84 864s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:85 864s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:86 864s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:87 864s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:88 864s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:89 864s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:90 864s ok 4 /threadpool/no-sort 864s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:1 864s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:2 864s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:3 864s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:4 864s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:5 864s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:6 864s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:7 864s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:8 864s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:9 864s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:10 864s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:11 864s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:12 864s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:13 864s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:14 864s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:15 864s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:16 864s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:17 864s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:18 864s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:19 864s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:20 864s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:21 864s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:22 864s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:23 864s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:24 864s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:25 864s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:26 864s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:27 864s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:28 864s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:29 864s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:30 864s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:31 864s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:32 864s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:33 864s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:34 864s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:35 864s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:36 864s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:37 864s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:38 864s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:39 864s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:40 864s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:41 864s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:42 864s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:43 864s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:44 864s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:45 864s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:46 864s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:47 864s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:48 864s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:49 864s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:50 864s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:51 864s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:52 864s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:53 864s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:54 864s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:55 864s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:56 864s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:57 864s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:58 864s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:59 864s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:60 864s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:61 864s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:62 864s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:63 864s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:64 864s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:65 864s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:66 864s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:67 864s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:68 864s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:69 864s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:70 864s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:71 864s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:72 864s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:73 864s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:74 864s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:75 864s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:76 864s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:77 864s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:78 864s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:79 864s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:80 864s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:81 864s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:82 864s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:83 864s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:84 864s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:85 864s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:86 864s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:87 864s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:88 864s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:89 864s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:90 864s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:91 864s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:92 864s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:93 864s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:94 864s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:95 864s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:96 864s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:97 864s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:98 864s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:99 864s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:100 864s # Starting thread pool processing 864s ok 5 /threadpool/sort 865s ok 6 /threadpool/stop-unused-multiple 865s # slow test /threadpool/stop-unused-multiple executed in 0.50 secs 865s # Pool idle thread count: 0, unprocessed jobs: 41 865s # Pool idle thread count: 0, unprocessed jobs: 0 865s # Pool idle thread count: 0, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 868s # Pool idle thread count: 10, unprocessed jobs: 0 869s # Pool idle thread count: 10, unprocessed jobs: 0 869s # Pool idle thread count: 10, unprocessed jobs: 0 869s Executing: glib/thread-pool-slow.test 869s # Pool idle thread count: 10, unprocessed jobs: 0 869s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 870s # Pool idle thread count: 10, unprocessed jobs: 0 871s # Pool idle thread count: 10, unprocessed jobs: 0 871s # Pool idle thread count: 10, unprocessed jobs: 0 871s # Pool idle thread count: 10, unprocessed jobs: 0 871s # Pool idle thread count: 10, unprocessed jobs: 0 872s # Pool idle thread count: 10, unprocessed jobs: 0 872s # Pool idle thread count: 10, unprocessed jobs: 0 872s # Pool idle thread count: 10, unprocessed jobs: 0 872s # Pool idle thread count: 10, unprocessed jobs: 0 873s # Pool idle thread count: 10, unprocessed jobs: 0 873s # Pool idle thread count: 10, unprocessed jobs: 0 873s # Pool idle thread count: 10, unprocessed jobs: 0 873s # Pool idle thread count: 10, unprocessed jobs: 0 874s # Pool idle thread count: 10, unprocessed jobs: 2 874s # Pool idle thread count: 10, unprocessed jobs: 2 874s # Pool idle thread count: 8, unprocessed jobs: 0 874s # Pool idle thread count: 8, unprocessed jobs: 0 874s Executing: glib/thread-pool-slow.test 874s # Pool idle thread count: 10, unprocessed jobs: 0 874s # Pool idle thread count: 10, unprocessed jobs: 0 875s # Pool idle thread count: 10, unprocessed jobs: 0 875s # Pool idle thread count: 10, unprocessed jobs: 0 875s # Pool idle thread count: 10, unprocessed jobs: 0 875s # Pool idle thread count: 10, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 876s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 877s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 878s # Pool idle thread count: 2, unprocessed jobs: 0 879s # Pool idle thread count: 2, unprocessed jobs: 0 879s # Pool idle thread count: 2, unprocessed jobs: 0 879s Executing: glib/thread-pool-slow.test 879s # Pool idle thread count: 2, unprocessed jobs: 0 879s # Pool idle thread count: 2, unprocessed jobs: 0 880s # Pool idle thread count: 2, unprocessed jobs: 0 880s # Pool idle thread count: 2, unprocessed jobs: 0 880s # Pool idle thread count: 2, unprocessed jobs: 0 880s # Pool idle thread count: 2, unprocessed jobs: 0 881s # Pool idle thread count: 2, unprocessed jobs: 0 881s # Pool idle thread count: 2, unprocessed jobs: 0 881s # Pool idle thread count: 2, unprocessed jobs: 0 881s # Pool idle thread count: 2, unprocessed jobs: 0 882s # Pool idle thread count: 2, unprocessed jobs: 0 882s # Pool idle thread count: 2, unprocessed jobs: 0 882s # Pool idle thread count: 2, unprocessed jobs: 0 882s # Pool idle thread count: 2, unprocessed jobs: 0 883s # Pool idle thread count: 2, unprocessed jobs: 0 883s # Pool idle thread count: 2, unprocessed jobs: 0 883s # Pool idle thread count: 2, unprocessed jobs: 0 883s # Pool idle thread count: 2, unprocessed jobs: 0 884s # Pool idle thread count: 2, unprocessed jobs: 0 884s # Pool idle thread count: 2, unprocessed jobs: 0 884s Executing: glib/thread-pool-slow.test 884s ok 7 /threadpool/idle-time 884s # slow test /threadpool/idle-time executed in 19.52 secs 884s # End of threadpool tests 884s PASS: glib/thread-pool-slow.test 884s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3892 885s autopkgtest [02:12:21]: test thread-pool-slow: -----------------------] 885s thread-pool-slow PASS 885s autopkgtest [02:12:21]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 885s autopkgtest [02:12:21]: test threadtests: preparing testbed 886s Reading package lists... 886s Building dependency tree... 886s Reading state information... 886s Starting pkgProblemResolver with broken count: 0 886s Starting 2 pkgProblemResolver with broken count: 0 886s Done 886s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 887s autopkgtest [02:12:23]: test threadtests: [----------------------- 887s Running test: glib/threadtests.test 887s TAP version 14 887s # random seed: R02S81d382d53df9f16186be341e07f5e4af 887s 1..5 887s # Start of GObject tests 887s ok 1 /GObject/threaded-object-init 888s ok 2 /GObject/threaded-weak-ref 888s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 888s # /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 888s ok 3 /GObject/threaded-toggle-notify 888s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 888s # Start of threaded-weak-ref tests 888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 888s # /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. 888s ok 5 /GObject/threaded-weak-ref/on-finalization 888s # End of threaded-weak-ref tests 888s # End of GObject tests 888s PASS: glib/threadtests.test 888s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.2s; maxrss=3608 888s autopkgtest [02:12:24]: test threadtests: -----------------------] 889s threadtests PASS 889s autopkgtest [02:12:25]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 889s autopkgtest [02:12:25]: test timeout: preparing testbed 889s Reading package lists... 889s Building dependency tree... 889s Reading state information... 889s Starting pkgProblemResolver with broken count: 0 889s Starting 2 pkgProblemResolver with broken count: 0 889s Done 890s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 890s autopkgtest [02:12:26]: test timeout: [----------------------- 890s Running test: glib/timeout.test 890s TAP version 14 890s # random seed: R02S158006611b178ed0a5ae16862c29851f 890s 1..5 890s # Start of timeout tests 890s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 893s ok 1 /timeout/seconds 893s # slow test /timeout/seconds executed in 2.10 secs 895s ok 2 /timeout/seconds-once 895s # slow test /timeout/seconds-once executed in 2.10 secs 895s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 896s Executing: glib/timeout.test 897s ok 3 /timeout/weeks-overflow 897s # slow test /timeout/weeks-overflow executed in 2.10 secs 897s ok 4 /timeout/far-future-ready-time 901s Executing: glib/timeout.test 906s Executing: glib/timeout.test 907s ok 5 /timeout/rounding 907s # slow test /timeout/rounding executed in 10.39 secs 907s # End of timeout tests 907s PASS: glib/timeout.test 907s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3056 907s autopkgtest [02:12:43]: test timeout: -----------------------] 908s timeout PASS 908s autopkgtest [02:12:44]: test timeout: - - - - - - - - - - results - - - - - - - - - - 908s autopkgtest [02:12:44]: test timer: preparing testbed 908s Reading package lists... 909s Building dependency tree... 909s Reading state information... 909s Starting pkgProblemResolver with broken count: 0 909s Starting 2 pkgProblemResolver with broken count: 0 909s Done 909s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 910s autopkgtest [02:12:46]: test timer: [----------------------- 910s Running test: glib/timer.test 910s TAP version 14 910s # random seed: R02S18c78592f697a570d83d9d4f7cf949f4 910s 1..10 910s # Start of timer tests 910s ok 1 /timer/basic 910s ok 2 /timer/stop 910s ok 3 /timer/continue 910s ok 4 /timer/reset 910s ok 5 /timer/is_active 910s # End of timer tests 910s # Start of timeval tests 910s ok 6 /timeval/add 910s ok 7 /timeval/from-iso8601 910s ok 8 /timeval/to-iso8601 910s # Start of to-iso8601 tests 910s ok 9 /timeval/to-iso8601/overflow 910s # End of to-iso8601 tests 910s # End of timeval tests 910s # Start of usleep tests 910s ok 10 /usleep/with-zero-wait 910s # End of usleep tests 910s PASS: glib/timer.test 910s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3064 910s autopkgtest [02:12:46]: test timer: -----------------------] 910s timer PASS 910s autopkgtest [02:12:46]: test timer: - - - - - - - - - - results - - - - - - - - - - 911s autopkgtest [02:12:47]: test 1065022-futureproofing: preparing testbed 993s autopkgtest [02:14:09]: testbed dpkg architecture: s390x 993s autopkgtest [02:14:09]: testbed apt version: 2.9.14ubuntu1 993s autopkgtest [02:14:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 993s autopkgtest [02:14:09]: testbed release detected to be: plucky 994s autopkgtest [02:14:10]: updating testbed package index (apt update) 994s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 995s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 995s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 995s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 995s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [759 kB] 995s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.9 kB] 995s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 995s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [58.9 kB] 995s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [112 kB] 995s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [928 B] 995s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [588 kB] 995s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [7444 B] 995s Fetched 1624 kB in 1s (1813 kB/s) 996s Reading package lists... 996s Reading package lists... 997s Building dependency tree... 997s Reading state information... 997s Calculating upgrade... 997s The following package was automatically installed and is no longer required: 997s libassuan0 997s Use 'sudo apt autoremove' to remove it. 997s The following packages will be upgraded: 997s binutils binutils-common binutils-s390x-linux-gnu dirmngr gcc-14-base gnupg 997s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 997s keyboxd libatomic1 libbinutils libcap-ng0 libctf-nobfd0 libctf0 libgcc-s1 997s libsframe1 libstdc++6 publicsuffix 997s 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 997s Need to get 6760 kB of archives. 997s After this operation, 392 kB of additional disk space will be used. 997s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libatomic1 s390x 14.2.0-9ubuntu1 [9424 B] 997s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-base s390x 14.2.0-9ubuntu1 [51.9 kB] 997s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++6 s390x 14.2.0-9ubuntu1 [897 kB] 997s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-s1 s390x 14.2.0-9ubuntu1 [35.9 kB] 997s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libcap-ng0 s390x 0.8.5-4 [15.8 kB] 997s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-wks-client s390x 2.4.4-2ubuntu20 [75.8 kB] 997s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x dirmngr s390x 2.4.4-2ubuntu20 [341 kB] 997s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x gpgsm s390x 2.4.4-2ubuntu20 [244 kB] 997s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-utils s390x 2.4.4-2ubuntu20 [116 kB] 997s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x gpg-agent s390x 2.4.4-2ubuntu20 [241 kB] 997s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x gpg s390x 2.4.4-2ubuntu20 [590 kB] 997s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gpgconf s390x 2.4.4-2ubuntu20 [110 kB] 997s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg all 2.4.4-2ubuntu20 [359 kB] 997s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x keyboxd s390x 2.4.4-2ubuntu20 [81.8 kB] 997s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gpgv s390x 2.4.4-2ubuntu20 [163 kB] 997s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x publicsuffix all 20241025.1547-0.1 [135 kB] 997s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libctf0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 997s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libctf-nobfd0 s390x 2.43.50.20241126-3ubuntu1 [101 kB] 997s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x binutils s390x 2.43.50.20241126-3ubuntu1 [3062 B] 998s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-s390x-linux-gnu s390x 2.43.50.20241126-3ubuntu1 [2304 kB] 998s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libbinutils s390x 2.43.50.20241126-3ubuntu1 [482 kB] 998s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x binutils-common s390x 2.43.50.20241126-3ubuntu1 [222 kB] 998s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsframe1 s390x 2.43.50.20241126-3ubuntu1 [14.0 kB] 998s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gnupg-l10n all 2.4.4-2ubuntu20 [66.3 kB] 998s Fetched 6760 kB in 1s (8252 kB/s) 998s (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 ... 55869 files and directories currently installed.) 998s Preparing to unpack .../libatomic1_14.2.0-9ubuntu1_s390x.deb ... 998s Unpacking libatomic1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 998s Preparing to unpack .../gcc-14-base_14.2.0-9ubuntu1_s390x.deb ... 998s Unpacking gcc-14-base:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 998s Setting up gcc-14-base:s390x (14.2.0-9ubuntu1) ... 998s (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 ... 55869 files and directories currently installed.) 998s Preparing to unpack .../libstdc++6_14.2.0-9ubuntu1_s390x.deb ... 998s Unpacking libstdc++6:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 998s Setting up libstdc++6:s390x (14.2.0-9ubuntu1) ... 998s (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 ... 55869 files and directories currently installed.) 998s Preparing to unpack .../libgcc-s1_14.2.0-9ubuntu1_s390x.deb ... 998s Unpacking libgcc-s1:s390x (14.2.0-9ubuntu1) over (14.2.0-8ubuntu1) ... 998s Setting up libgcc-s1:s390x (14.2.0-9ubuntu1) ... 998s (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 ... 55869 files and directories currently installed.) 998s Preparing to unpack .../libcap-ng0_0.8.5-4_s390x.deb ... 998s Unpacking libcap-ng0:s390x (0.8.5-4) over (0.8.5-3build1) ... 998s Setting up libcap-ng0:s390x (0.8.5-4) ... 998s (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 ... 55869 files and directories currently installed.) 998s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gpg-wks-client (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../1-dirmngr_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking dirmngr (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../2-gpgsm_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gpgsm (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../3-gnupg-utils_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gnupg-utils (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../4-gpg-agent_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gpg-agent (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../5-gpg_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gpg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../6-gpgconf_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gpgconf (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../7-gnupg_2.4.4-2ubuntu20_all.deb ... 998s Unpacking gnupg (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../8-keyboxd_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking keyboxd (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Preparing to unpack .../9-gpgv_2.4.4-2ubuntu20_s390x.deb ... 998s Unpacking gpgv (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 998s Setting up gpgv (2.4.4-2ubuntu20) ... 998s (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 ... 55869 files and directories currently installed.) 998s Preparing to unpack .../0-publicsuffix_20241025.1547-0.1_all.deb ... 998s Unpacking publicsuffix (20241025.1547-0.1) over (20231001.0357-0.1) ... 998s Preparing to unpack .../1-libctf0_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking libctf0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../2-libctf-nobfd0_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../3-binutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking binutils (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../4-binutils-s390x-linux-gnu_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../5-libbinutils_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking libbinutils:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../6-binutils-common_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking binutils-common:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../7-libsframe1_2.43.50.20241126-3ubuntu1_s390x.deb ... 998s Unpacking libsframe1:s390x (2.43.50.20241126-3ubuntu1) over (2.43.1-4ubuntu1) ... 998s Preparing to unpack .../8-gnupg-l10n_2.4.4-2ubuntu20_all.deb ... 998s Unpacking gnupg-l10n (2.4.4-2ubuntu20) over (2.4.4-2ubuntu18) ... 999s Setting up binutils-common:s390x (2.43.50.20241126-3ubuntu1) ... 999s Setting up libctf-nobfd0:s390x (2.43.50.20241126-3ubuntu1) ... 999s Setting up libsframe1:s390x (2.43.50.20241126-3ubuntu1) ... 999s Setting up gnupg-l10n (2.4.4-2ubuntu20) ... 999s Setting up libatomic1:s390x (14.2.0-9ubuntu1) ... 999s Setting up gpgconf (2.4.4-2ubuntu20) ... 999s Setting up libbinutils:s390x (2.43.50.20241126-3ubuntu1) ... 999s Setting up publicsuffix (20241025.1547-0.1) ... 999s Setting up gpg (2.4.4-2ubuntu20) ... 999s Setting up gnupg-utils (2.4.4-2ubuntu20) ... 999s Setting up libctf0:s390x (2.43.50.20241126-3ubuntu1) ... 999s Setting up binutils-s390x-linux-gnu (2.43.50.20241126-3ubuntu1) ... 999s Setting up gpg-agent (2.4.4-2ubuntu20) ... 999s Setting up gpgsm (2.4.4-2ubuntu20) ... 999s Setting up binutils (2.43.50.20241126-3ubuntu1) ... 999s Setting up dirmngr (2.4.4-2ubuntu20) ... 999s Setting up keyboxd (2.4.4-2ubuntu20) ... 999s Setting up gnupg (2.4.4-2ubuntu20) ... 999s Setting up gpg-wks-client (2.4.4-2ubuntu20) ... 999s Processing triggers for man-db (2.13.0-1) ... 1000s Processing triggers for install-info (7.1.1-1) ... 1000s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1000s Reading package lists... 1000s Building dependency tree... 1000s Reading state information... 1000s The following packages will be REMOVED: 1000s libassuan0* 1000s 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. 1000s After this operation, 106 kB disk space will be freed. 1000s (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 ... 55869 files and directories currently installed.) 1000s Removing libassuan0:s390x (2.5.6-1build1) ... 1000s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1001s autopkgtest [02:14:17]: upgrading testbed (apt dist-upgrade and autopurge) 1001s Reading package lists... 1001s Building dependency tree... 1001s Reading state information... 1001s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1001s Starting 2 pkgProblemResolver with broken count: 0 1001s Done 1001s Entering ResolveByKeep 1001s 1001s The following packages will be upgraded: 1001s xauth 1002s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1002s Need to get 25.4 kB of archives. 1002s After this operation, 4096 B disk space will be freed. 1002s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x xauth s390x 1:1.1.2-1.1 [25.4 kB] 1002s Fetched 25.4 kB in 0s (127 kB/s) 1002s (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 ... 55864 files and directories currently installed.) 1002s Preparing to unpack .../xauth_1%3a1.1.2-1.1_s390x.deb ... 1002s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1002s Setting up xauth (1:1.1.2-1.1) ... 1002s Processing triggers for man-db (2.13.0-1) ... 1003s Reading package lists... 1003s Building dependency tree... 1003s Reading state information... 1003s Starting pkgProblemResolver with broken count: 0 1003s Starting 2 pkgProblemResolver with broken count: 0 1003s Done 1003s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1005s Reading package lists... 1006s Building dependency tree... 1006s Reading state information... 1006s Starting pkgProblemResolver with broken count: 0 1006s Starting 2 pkgProblemResolver with broken count: 0 1006s Done 1006s The following NEW packages will be installed: 1006s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1006s libdconf1 1006s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1006s Need to get 140 kB of archives. 1006s After this operation, 636 kB of additional disk space will be used. 1006s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libdconf1 s390x 0.40.0-4build2 [40.3 kB] 1006s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-service s390x 0.40.0-4build2 [28.6 kB] 1006s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x dconf-gsettings-backend s390x 0.40.0-4build2 [23.2 kB] 1006s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dpkg-repack all 1.54 [11.2 kB] 1006s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1006s Fetched 140 kB in 0s (398 kB/s) 1006s Selecting previously unselected package libdconf1:s390x. 1007s (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 ... 55864 files and directories currently installed.) 1007s Preparing to unpack .../libdconf1_0.40.0-4build2_s390x.deb ... 1007s Unpacking libdconf1:s390x (0.40.0-4build2) ... 1007s Selecting previously unselected package dconf-service. 1007s Preparing to unpack .../dconf-service_0.40.0-4build2_s390x.deb ... 1007s Unpacking dconf-service (0.40.0-4build2) ... 1007s Selecting previously unselected package dconf-gsettings-backend:s390x. 1007s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_s390x.deb ... 1007s Unpacking dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1007s Selecting previously unselected package dpkg-repack. 1007s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1007s Unpacking dpkg-repack (1.54) ... 1007s Selecting previously unselected package gsettings-desktop-schemas. 1007s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1007s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1007s Setting up dpkg-repack (1.54) ... 1007s Setting up libdconf1:s390x (0.40.0-4build2) ... 1007s Setting up dconf-service (0.40.0-4build2) ... 1007s Setting up dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1007s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1007s Processing triggers for man-db (2.13.0-1) ... 1007s Processing triggers for libglib2.0-0t64:s390x (2.82.2-3) ... 1007s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1011s autopkgtest [02:14:27]: test 1065022-futureproofing: [----------------------- 1011s + export DEBIAN_FRONTEND=noninteractive 1011s + n=0 1011s + failed=0 1011s + binary_package=libglib2.0-0t64 1011s + future_binary_package=libglib2.0-0xyz 1011s + pwd 1011s + srcdir=/tmp/autopkgtest.DcYP6S/build.xRy/src 1011s + mktemp -d 1011s + tmpdir=/tmp/tmp.48dBCo96kg 1011s + cd /tmp/tmp.48dBCo96kg 1011s + [ -e /tmp/autopkgtest.DcYP6S/build.xRy/src/debian/tests/manual/local-1065022.sources ] 1011s + dpkg-query -W dpkg-repack 1011s dpkg-repack 1.54 1011s + dpkg-repack --generate libglib2.0-0t64 1011s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1011s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.9R2rrE for libglib2.0-0t64 1011s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.9R2rrE ." 1011s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.9R2rrE/DEBIAN/control 1011s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.9R2rrE/DEBIAN/control 1011s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.9R2rrE/DEBIAN/control 1011s + 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.9R2rrE/DEBIAN/control 1011s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.9R2rrE libglib2.0-0xyz.deb 1011s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1013s + apt-get -y install ./libglib2.0-0xyz.deb 1013s Reading package lists... 1013s Building dependency tree... 1013s Reading state information... 1013s The following packages were automatically installed and are no longer required: 1013s apport-symptoms fuse3 jq libatasmart4 libbytesize-common libbytesize1 1013s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 1013s libfuse3-3 libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 1013s libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d python3-apport 1013s python3-certifi python3-chardet python3-configobj python3-debconf 1013s python3-markdown-it python3-mdurl python3-openssl python3-problem-report 1013s python3-pygments python3-requests python3-rich python3-systemd 1013s python3-urllib3 s390-tools-data s390-tools-signed sgml-base xml-core 1013s Use 'sudo apt autoremove' to remove them. 1013s The following additional packages will be installed: 1013s xdg-user-dirs 1013s Suggested packages: 1013s low-memory-monitor 1013s Recommended packages: 1013s shared-mime-info 1013s The following packages will be REMOVED: 1013s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base 1013s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1013s gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gsettings-desktop-schemas 1013s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 1013s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 1013s libblockdev-utils3 libblockdev3 libdconf1 libfwupd3 libgirepository-1.0-1 1013s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1 1013s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1013s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 1013s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1013s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools 1013s polkitd python3-dbus python3-gi python3-netplan python3-software-properties 1013s s390-tools shared-mime-info software-properties-common sysconfig-hardware 1013s ubuntu-minimal udisks2 1013s The following NEW packages will be installed: 1013s libglib2.0-0xyz xdg-user-dirs 1013s 0 upgraded, 2 newly installed, 61 to remove and 0 not upgraded. 1013s Need to get 19.3 kB/1594 kB of archives. 1013s After this operation, 55.0 MB disk space will be freed. 1013s Get:1 /tmp/tmp.48dBCo96kg/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.82.2-3 [1575 kB] 1013s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-user-dirs s390x 0.18-1build1 [19.3 kB] 1013s Fetched 19.3 kB in 0s (84.9 kB/s) 1013s (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 ... 55932 files and directories currently installed.) 1013s Removing appstream (1.0.3-1) ... 1013s Removing bolt (0.9.8-1) ... 1014s Removing cloud-init (24.4-0ubuntu1) ... 1014s Removing cloud-init-base (24.4-0ubuntu1) ... 1014s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1014s Removing dconf-gsettings-backend:s390x (0.40.0-4build2) ... 1014s Removing dconf-service (0.40.0-4build2) ... 1014s Removing fwupd (2.0.2-2) ... 1014s Removing software-properties-common (0.107) ... 1014s Removing python3-software-properties (0.107) ... 1014s Removing gir1.2-packagekitglib-1.0 (1.3.0-2) ... 1014s Removing networkd-dispatcher (2.2.4-1.1) ... 1015s Removing packagekit-tools (1.3.0-2) ... 1015s Removing packagekit (1.3.0-2) ... 1015s Removing libappstream5:s390x (1.0.3-1) ... 1015s Removing udisks2 (2.10.1-11ubuntu1) ... 1015s Removing libblockdev-crypto3:s390x (3.2.1-1) ... 1015s Removing libblockdev-fs3:s390x (3.2.1-1) ... 1015s Removing libblockdev-loop3:s390x (3.2.1-1) ... 1015s Removing libblockdev-mdraid3:s390x (3.2.1-1) ... 1015s Removing libblockdev-nvme3:s390x (3.2.1-1) ... 1015s Removing libblockdev-part3:s390x (3.2.1-1) ... 1015s Removing libblockdev-swap3:s390x (3.2.1-1) ... 1015s Removing libblockdev3:s390x (3.2.1-1) ... 1015s Removing libblockdev-utils3:s390x (3.2.1-1) ... 1015s Removing libdconf1:s390x (0.40.0-4build2) ... 1015s Removing libfwupd3:s390x (2.0.2-2) ... 1015s Removing shared-mime-info (2.4-5) ... 1015s Removing sysconfig-hardware (0.0.14ubuntu3) ... 1015s Removing s390-tools (2.34.0-0ubuntu2) ... 1016s Removing libglib2.0-bin (2.82.2-3) ... 1016s Removing libgstreamer1.0-0:s390x (1.24.9-1) ... 1016s Removing libgudev-1.0-0:s390x (1:238-5ubuntu1) ... 1016s Removing libjcat1:s390x (0.2.0-2build3) ... 1016s Removing libjson-glib-1.0-0:s390x (1.10.0+ds-3) ... 1016s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 1016s Removing libqmi-glib5:s390x (1.35.2-0ubuntu2) ... 1016s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1016s Removing libmbim-glib4:s390x (1.31.2-0ubuntu4) ... 1016s Removing libmm-glib0:s390x (1.23.4-0ubuntu2) ... 1016s Removing ubuntu-minimal (1.544) ... 1016s Removing netplan.io (1.1.1-1) ... 1016s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1016s Removing python3-netplan (1.1.1-1) ... 1016s Removing netplan-generator (1.1.1-1) ... 1016s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1016s Removing libnetplan1:s390x (1.1.1-1) ... 1016s Removing libpackagekit-glib2-18:s390x (1.3.0-2) ... 1016s Removing polkitd (125-2ubuntu1) ... 1016s Removing libpolkit-agent-1-0:s390x (125-2ubuntu1) ... 1016s Removing libpolkit-gobject-1-0:s390x (125-2ubuntu1) ... 1016s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu4) ... 1016s Removing libudisks2-0:s390x (2.10.1-11ubuntu1) ... 1016s Removing libvolume-key1:s390x (0.3.12-8) ... 1016s Removing libxmlb2:s390x (0.3.21-1) ... 1016s Removing python3-dbus (1.3.2-5build4) ... 1016s Removing apport (2.30.0-0ubuntu5) ... 1017s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 1017s Removing python3-gi (3.50.0-3build1) ... 1017s Removing gir1.2-girepository-2.0:s390x (1.82.0-2) ... 1017s Removing gir1.2-glib-2.0:s390x (2.82.2-3) ... 1017s Removing libgirepository-1.0-1:s390x (1.82.0-2) ... 1017s Removing libglib2.0-0t64:s390x (2.82.2-3) ... 1017s Selecting previously unselected package libglib2.0-0xyz:s390x. 1017s (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 ... 54408 files and directories currently installed.) 1017s Preparing to unpack .../libglib2.0-0xyz.deb ... 1017s Unpacking libglib2.0-0xyz:s390x (2.82.2-3) ... 1017s Selecting previously unselected package xdg-user-dirs. 1017s Preparing to unpack .../xdg-user-dirs_0.18-1build1_s390x.deb ... 1017s Unpacking xdg-user-dirs (0.18-1build1) ... 1017s Setting up xdg-user-dirs (0.18-1build1) ... 1017s Setting up libglib2.0-0xyz:s390x (2.82.2-3) ... 1017s No schema files found: removed existing output file. 1017s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1017s Processing triggers for sgml-base (1.31) ... 1017s Processing triggers for initramfs-tools (0.142ubuntu35) ... 1017s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 1017s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1019s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1019s Processing triggers for man-db (2.13.0-1) ... 1019s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1019s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1019s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1019s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1019s + n=1 1019s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1019s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1019s + failed=1 1019s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1019s + n=2 1019s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1019s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1019s + failed=1 1019s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1019s + n=3 1019s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1019s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1019s + failed=1 1019s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1019s + n=4 1019s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1019s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1019s + failed=1 1019s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1019s + n=5 1019s + test -e /usr/lib/*/gio/modules/giomodule.cache 1019s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1019s + failed=1 1019s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1019s + n=6 1019s + test -s /usr/lib/*/gio/modules/giomodule.cache 1019s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1019s + failed=1 1019s + apt-get -y purge libglib2.0-0t64 1019s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1019s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1019s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1019s Reading package lists... 1019s Building dependency tree... 1019s Reading state information... 1019s The following packages were automatically installed and are no longer required: 1019s apport-symptoms fuse3 jq libatasmart4 libbytesize-common libbytesize1 1019s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 1019s libfuse3-3 libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 libnss3 1019s libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d python3-apport 1019s python3-certifi python3-chardet python3-configobj python3-debconf 1019s python3-markdown-it python3-mdurl python3-openssl python3-problem-report 1019s python3-pygments python3-requests python3-rich python3-systemd 1019s python3-urllib3 s390-tools-data s390-tools-signed sgml-base xml-core 1019s Use 'sudo apt autoremove' to remove them. 1019s The following packages will be REMOVED: 1019s libglib2.0-0t64* 1019s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1019s After this operation, 0 B of additional disk space will be used. 1019s (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 ... 54443 files and directories currently installed.) 1019s Purging configuration files for libglib2.0-0t64:s390x (2.82.2-3) ... 1020s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1020s + n=7 1020s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1020s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1020s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1020s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1020s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1020s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1020s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1020s + failed=1 1020s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1020s + n=8 1020s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1020s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1020s + failed=1 1020s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1020s + n=9 1020s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1020s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1020s + failed=1 1020s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1020s + n=10 1020s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1020s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1020s + failed=1 1020s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1020s + n=11 1020s + test -e /usr/lib/*/gio/modules/giomodule.cache 1020s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1020s + failed=1 1020s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1020s + n=12 1020s + test -s /usr/lib/*/gio/modules/giomodule.cache 1020s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1020s Reading package lists... 1020s Building dependency tree...+ echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1020s + failed=1 1020s + apt-get -y purge libglib2.0-0xyz 1020s 1020s Reading state information... 1020s The following packages were automatically installed and are no longer required: 1020s apport-symptoms fuse3 jq libatasmart4 libatomic1 libbytesize-common 1020s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 1020s libftdi1-2 libfuse3-3 libglib2.0-data libgpgme11t64 libjq1 1020s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1020s libstemmer0d python3-apport python3-certifi python3-chardet 1020s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1020s python3-openssl python3-problem-report python3-pygments python3-requests 1020s python3-rich python3-systemd python3-urllib3 s390-tools-data 1020s s390-tools-signed sgml-base xdg-user-dirs xml-core 1020s Use 'sudo apt autoremove' to remove them. 1020s The following packages will be REMOVED: 1020s libglib2.0-0xyz* 1020s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1020s After this operation, 4624 kB disk space will be freed. 1020s (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 ... 54443 files and directories currently installed.) 1020s Removing libglib2.0-0xyz:s390x (2.82.2-3) ... 1020s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1020s (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 ... 54418 files and directories currently installed.) 1020s Purging configuration files for libglib2.0-0xyz:s390x (2.82.2-3) ... 1020s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1020s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1020s + n=13 1020s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1020s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1020s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1020s + n=14 1020s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1020s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1020s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1020s + n=15 1020s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1020s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1020s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1020s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1020s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1020s + n=16 1020s + test -e /usr/lib/*/gio/modules/giomodule.cache 1020s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1020s + echo 1..16 1020s + exit 1 1020s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1020s 1..16 1021s autopkgtest [02:14:37]: test 1065022-futureproofing: -----------------------] 1021s 1065022-futureproofing FLAKY non-zero exit status 1 1021s autopkgtest [02:14:37]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1021s autopkgtest [02:14:37]: @@@@@@@@@@@@@@@@@@@@ summary 1021s build PASS (superficial) 1021s build-static PASS (superficial) 1021s girepository-tools PASS (superficial) 1021s libgio-2.0-dev-bin PASS (superficial) 1021s libglib2.0-dev PASS (superficial) 1021s installed-tests PASS 1021s closure-refcount PASS 1021s debugcontroller PASS 1021s gdbus-server-auth PASS 1021s gdbus-threading PASS 1021s gmenumodel PASS 1021s mainloop PASS 1021s memory-monitor-dbus PASS 1021s socket PASS 1021s testfilemonitor PASS 1021s thread-pool-slow PASS 1021s threadtests PASS 1021s timeout PASS 1021s timer PASS 1021s 1065022-futureproofing FLAKY non-zero exit status 1 1033s nova [W] Using flock in prodstack6-s390x 1033s Creating nova instance adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab from image adt/ubuntu-plucky-s390x-server-20241203.img (UUID 1a991c1c-46bc-40f7-9cba-4c8bff864ded)... 1033s nova [W] Using flock in prodstack6-s390x 1033s Creating nova instance adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab from image adt/ubuntu-plucky-s390x-server-20241203.img (UUID 1a991c1c-46bc-40f7-9cba-4c8bff864ded)... 1033s nova [W] Using flock in prodstack6-s390x 1033s Creating nova instance adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab from image adt/ubuntu-plucky-s390x-server-20241203.img (UUID 1a991c1c-46bc-40f7-9cba-4c8bff864ded)... 1033s nova [W] Using flock in prodstack6-s390x 1033s Creating nova instance adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab from image adt/ubuntu-plucky-s390x-server-20241203.img (UUID 1a991c1c-46bc-40f7-9cba-4c8bff864ded)... 1033s nova [W] Using flock in prodstack6-s390x 1033s Creating nova instance adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab from image adt/ubuntu-plucky-s390x-server-20241203.img (UUID 1a991c1c-46bc-40f7-9cba-4c8bff864ded)... 1033s nova [W] Using flock in prodstack6-s390x 1033s Creating nova instance adt-plucky-s390x-glib2.0-20241204-012950-juju-7f2275-prod-proposed-migration-environment-2-ae24bc94-c1cb-49e2-97c6-6af4410d75ab from image adt/ubuntu-plucky-s390x-server-20241203.img (UUID 1a991c1c-46bc-40f7-9cba-4c8bff864ded)...